Uses of Class
nu.validator.htmlparser.common.XmlViolationPolicy
-
Packages that use XmlViolationPolicy Package Description nu.validator.htmlparser.common This package provides common interfaces and enumerations.nu.validator.htmlparser.dom This package provides an HTML5 parser that exposes the document using the DOM API.nu.validator.htmlparser.impl This package contains the bulk of parser internals.nu.validator.htmlparser.io nu.validator.htmlparser.sax This package provides an HTML5 parser that exposes the document through the SAX API.nu.validator.htmlparser.xom This package provides an HTML5 parser that exposes the document through the XOM API. -
-
Uses of XmlViolationPolicy in nu.validator.htmlparser.common
Methods in nu.validator.htmlparser.common that return XmlViolationPolicy Modifier and Type Method Description static XmlViolationPolicyXmlViolationPolicy. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static XmlViolationPolicy[]XmlViolationPolicy. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of XmlViolationPolicy in nu.validator.htmlparser.dom
Methods in nu.validator.htmlparser.dom that return XmlViolationPolicy Modifier and Type Method Description XmlViolationPolicyHtmlDocumentBuilder. getBogusXmlnsPolicy()Deprecated.XmlViolationPolicyHtmlDocumentBuilder. getCommentPolicy()Returns the commentPolicy.XmlViolationPolicyHtmlDocumentBuilder. getContentNonXmlCharPolicy()Returns the contentNonXmlCharPolicy.XmlViolationPolicyHtmlDocumentBuilder. getContentSpacePolicy()Returns the contentSpacePolicy.XmlViolationPolicyHtmlDocumentBuilder. getNamePolicy()The policy for non-NCName element and attribute names.XmlViolationPolicyHtmlDocumentBuilder. getStreamabilityViolationPolicy()Returns the streamabilityViolationPolicy.XmlViolationPolicyHtmlDocumentBuilder. getXmlnsPolicy()Returns the xmlnsPolicy.Methods in nu.validator.htmlparser.dom with parameters of type XmlViolationPolicy Modifier and Type Method Description voidHtmlDocumentBuilder. setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)Deprecated.voidHtmlDocumentBuilder. setCommentPolicy(XmlViolationPolicy commentPolicy)Sets the policy for consecutive hyphens in comments.voidHtmlDocumentBuilder. setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)Sets the policy for non-XML characters except white space.voidHtmlDocumentBuilder. setContentSpacePolicy(XmlViolationPolicy contentSpacePolicy)Sets the policy for non-XML white space.voidHtmlDocumentBuilder. setNamePolicy(XmlViolationPolicy namePolicy)The policy for non-NCName element and attribute names.voidHtmlDocumentBuilder. setStreamabilityViolationPolicy(XmlViolationPolicy streamabilityViolationPolicy)Sets the streamabilityViolationPolicy.voidHtmlDocumentBuilder. setXmlnsPolicy(XmlViolationPolicy xmlnsPolicy)Whether thexmlnsattribute on the root element is passed to through.voidHtmlDocumentBuilder. setXmlPolicy(XmlViolationPolicy xmlPolicy)This is a catch-all convenience method for setting name, xmlns, content space, content non-XML char and comment policies in one go.Constructors in nu.validator.htmlparser.dom with parameters of type XmlViolationPolicy Constructor Description HtmlDocumentBuilder(XmlViolationPolicy xmlPolicy)Instantiates the document builder with the JAXP DOM implementation and a specific XML violation policy.HtmlDocumentBuilder(org.w3c.dom.DOMImplementation implementation, XmlViolationPolicy xmlPolicy)Instantiates the document builder with a specific DOM implementation and XML violation policy. -
Uses of XmlViolationPolicy in nu.validator.htmlparser.impl
Methods in nu.validator.htmlparser.impl with parameters of type XmlViolationPolicy Modifier and Type Method Description voidTokenizer. setCommentPolicy(XmlViolationPolicy commentPolicy)Sets the commentPolicy.voidErrorReportingTokenizer. setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)Sets the contentNonXmlCharPolicy.voidTokenizer. setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)Sets the contentNonXmlCharPolicy.voidTokenizer. setContentSpacePolicy(XmlViolationPolicy contentSpacePolicy)Sets the contentSpacePolicy.voidTokenizer. setNamePolicy(XmlViolationPolicy namePolicy)voidTreeBuilder. setNamePolicy(XmlViolationPolicy namePolicy)voidTokenizer. setXmlnsPolicy(XmlViolationPolicy xmlnsPolicy)Sets the xmlnsPolicy. -
Uses of XmlViolationPolicy in nu.validator.htmlparser.io
Methods in nu.validator.htmlparser.io with parameters of type XmlViolationPolicy Modifier and Type Method Description voidDriver. setCommentPolicy(XmlViolationPolicy commentPolicy)voidDriver. setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)voidDriver. setContentSpacePolicy(XmlViolationPolicy contentSpacePolicy)voidDriver. setNamePolicy(XmlViolationPolicy namePolicy)voidDriver. setXmlnsPolicy(XmlViolationPolicy xmlnsPolicy) -
Uses of XmlViolationPolicy in nu.validator.htmlparser.sax
Methods in nu.validator.htmlparser.sax that return XmlViolationPolicy Modifier and Type Method Description XmlViolationPolicyHtmlParser. getBogusXmlnsPolicy()Deprecated.XmlViolationPolicyHtmlParser. getCommentPolicy()Returns the commentPolicy.XmlViolationPolicyHtmlParser. getContentNonXmlCharPolicy()Returns the contentNonXmlCharPolicy.XmlViolationPolicyHtmlParser. getContentSpacePolicy()Returns the contentSpacePolicy.XmlViolationPolicyHtmlParser. getNamePolicy()The policy for non-NCName element and attribute names.XmlViolationPolicyHtmlParser. getStreamabilityViolationPolicy()Returns the streamabilityViolationPolicy.XmlViolationPolicyHtmlParser. getXmlnsPolicy()Returns the xmlnsPolicy.Methods in nu.validator.htmlparser.sax with parameters of type XmlViolationPolicy Modifier and Type Method Description voidHtmlParser. setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)Deprecated.voidHtmlParser. setCommentPolicy(XmlViolationPolicy commentPolicy)Sets the policy for consecutive hyphens in comments.voidHtmlParser. setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)Sets the policy for non-XML characters except white space.voidHtmlParser. setContentSpacePolicy(XmlViolationPolicy contentSpacePolicy)Sets the policy for non-XML white space.voidHtmlParser. setNamePolicy(XmlViolationPolicy namePolicy)The policy for non-NCName element and attribute names.voidHtmlParser. setStreamabilityViolationPolicy(XmlViolationPolicy streamabilityViolationPolicy)Sets the streamabilityViolationPolicy.voidHtmlParser. setXmlnsPolicy(XmlViolationPolicy xmlnsPolicy)Whether thexmlnsattribute on the root element is passed to through.voidHtmlParser. setXmlPolicy(XmlViolationPolicy xmlPolicy)This is a catch-all convenience method for setting name, xmlns, content space, content non-XML char and comment policies in one go.Constructors in nu.validator.htmlparser.sax with parameters of type XmlViolationPolicy Constructor Description HtmlParser(XmlViolationPolicy xmlPolicy)Instantiates the parser with a specific XML violation policy. -
Uses of XmlViolationPolicy in nu.validator.htmlparser.xom
Methods in nu.validator.htmlparser.xom that return XmlViolationPolicy Modifier and Type Method Description XmlViolationPolicyHtmlBuilder. getBogusXmlnsPolicy()Deprecated.XmlViolationPolicyHtmlBuilder. getCommentPolicy()Returns the commentPolicy.XmlViolationPolicyHtmlBuilder. getContentNonXmlCharPolicy()Returns the contentNonXmlCharPolicy.XmlViolationPolicyHtmlBuilder. getContentSpacePolicy()Returns the contentSpacePolicy.XmlViolationPolicyHtmlBuilder. getNamePolicy()The policy for non-NCName element and attribute names.XmlViolationPolicyHtmlBuilder. getStreamabilityViolationPolicy()Returns the streamabilityViolationPolicy.XmlViolationPolicyHtmlBuilder. getXmlnsPolicy()Returns the xmlnsPolicy.Methods in nu.validator.htmlparser.xom with parameters of type XmlViolationPolicy Modifier and Type Method Description voidHtmlBuilder. setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)Deprecated.voidHtmlBuilder. setCommentPolicy(XmlViolationPolicy commentPolicy)Sets the policy for consecutive hyphens in comments.voidHtmlBuilder. setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)Sets the policy for non-XML characters except white space.voidHtmlBuilder. setContentSpacePolicy(XmlViolationPolicy contentSpacePolicy)Sets the policy for non-XML white space.voidHtmlBuilder. setNamePolicy(XmlViolationPolicy namePolicy)The policy for non-NCName element and attribute names.voidHtmlBuilder. setStreamabilityViolationPolicy(XmlViolationPolicy streamabilityViolationPolicy)Sets the streamabilityViolationPolicy.voidHtmlBuilder. setXmlnsPolicy(XmlViolationPolicy xmlnsPolicy)Whether thexmlnsattribute on the root element is passed to through.voidHtmlBuilder. setXmlPolicy(XmlViolationPolicy xmlPolicy)This is a catch-all convenience method for setting name, xmlns, content space, content non-XML char and comment policies in one go.Constructors in nu.validator.htmlparser.xom with parameters of type XmlViolationPolicy Constructor Description HtmlBuilder(XmlViolationPolicy xmlPolicy)Constructor with default node factory and given XML violation policy.HtmlBuilder(SimpleNodeFactory nodeFactory, XmlViolationPolicy xmlPolicy)Constructor with given node factory and given XML violation policy.
-