Uses of Enum Class
nu.validator.htmlparser.common.XmlViolationPolicy
Packages that use XmlViolationPolicy
Package
Description
This package provides common interfaces and enumerations.
This package provides an HTML5 parser that exposes the document using the DOM API.
This package contains the bulk of parser internals.
This package provides an HTML5 parser that exposes the document through the SAX API.
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 XmlViolationPolicyModifier and TypeMethodDescriptionstatic XmlViolationPolicyReturns the enum constant of this class with the specified name.static XmlViolationPolicy[]XmlViolationPolicy.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of XmlViolationPolicy in nu.validator.htmlparser.dom
Methods in nu.validator.htmlparser.dom that return XmlViolationPolicyModifier and TypeMethodDescriptionHtmlDocumentBuilder.getBogusXmlnsPolicy()Deprecated.HtmlDocumentBuilder.getCommentPolicy()Returns the commentPolicy.HtmlDocumentBuilder.getContentNonXmlCharPolicy()Returns the contentNonXmlCharPolicy.HtmlDocumentBuilder.getContentSpacePolicy()Returns the contentSpacePolicy.HtmlDocumentBuilder.getNamePolicy()The policy for non-NCName element and attribute names.HtmlDocumentBuilder.getStreamabilityViolationPolicy()Returns the streamabilityViolationPolicy.HtmlDocumentBuilder.getXmlnsPolicy()Returns the xmlnsPolicy.Methods in nu.validator.htmlparser.dom with parameters of type XmlViolationPolicyModifier and TypeMethodDescriptionvoidHtmlDocumentBuilder.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 XmlViolationPolicyModifierConstructorDescriptionHtmlDocumentBuilder(XmlViolationPolicy xmlPolicy) Instantiates the document builder with the JAXP DOM implementation and a specific XML violation policy.HtmlDocumentBuilder(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 XmlViolationPolicyModifier and TypeMethodDescriptionvoidTokenizer.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 XmlViolationPolicyModifier and TypeMethodDescriptionvoidDriver.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 XmlViolationPolicyModifier and TypeMethodDescriptionHtmlParser.getBogusXmlnsPolicy()Deprecated.HtmlParser.getCommentPolicy()Returns the commentPolicy.HtmlParser.getContentNonXmlCharPolicy()Returns the contentNonXmlCharPolicy.HtmlParser.getContentSpacePolicy()Returns the contentSpacePolicy.HtmlParser.getNamePolicy()The policy for non-NCName element and attribute names.HtmlParser.getStreamabilityViolationPolicy()Returns the streamabilityViolationPolicy.HtmlParser.getXmlnsPolicy()Returns the xmlnsPolicy.Methods in nu.validator.htmlparser.sax with parameters of type XmlViolationPolicyModifier and TypeMethodDescriptionvoidHtmlParser.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 XmlViolationPolicyModifierConstructorDescriptionHtmlParser(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 XmlViolationPolicyModifier and TypeMethodDescriptionHtmlBuilder.getBogusXmlnsPolicy()Deprecated.HtmlBuilder.getCommentPolicy()Returns the commentPolicy.HtmlBuilder.getContentNonXmlCharPolicy()Returns the contentNonXmlCharPolicy.HtmlBuilder.getContentSpacePolicy()Returns the contentSpacePolicy.HtmlBuilder.getNamePolicy()The policy for non-NCName element and attribute names.HtmlBuilder.getStreamabilityViolationPolicy()Returns the streamabilityViolationPolicy.HtmlBuilder.getXmlnsPolicy()Returns the xmlnsPolicy.Methods in nu.validator.htmlparser.xom with parameters of type XmlViolationPolicyModifier and TypeMethodDescriptionvoidHtmlBuilder.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 XmlViolationPolicyModifierConstructorDescriptionHtmlBuilder(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.