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 XmlViolationPolicy
Returns 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
Fields in nu.validator.htmlparser.dom declared as XmlViolationPolicyModifier and TypeFieldDescriptionprivate XmlViolationPolicy
HtmlDocumentBuilder.commentPolicy
private XmlViolationPolicy
HtmlDocumentBuilder.contentNonXmlCharPolicy
private XmlViolationPolicy
HtmlDocumentBuilder.contentSpacePolicy
private XmlViolationPolicy
HtmlDocumentBuilder.namePolicy
private XmlViolationPolicy
HtmlDocumentBuilder.streamabilityViolationPolicy
private XmlViolationPolicy
HtmlDocumentBuilder.xmlnsPolicy
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 TypeMethodDescriptionvoid
HtmlDocumentBuilder.setBogusXmlnsPolicy
(XmlViolationPolicy bogusXmlnsPolicy) Deprecated.void
HtmlDocumentBuilder.setCommentPolicy
(XmlViolationPolicy commentPolicy) Sets the policy for consecutive hyphens in comments.void
HtmlDocumentBuilder.setContentNonXmlCharPolicy
(XmlViolationPolicy contentNonXmlCharPolicy) Sets the policy for non-XML characters except white space.void
HtmlDocumentBuilder.setContentSpacePolicy
(XmlViolationPolicy contentSpacePolicy) Sets the policy for non-XML white space.void
HtmlDocumentBuilder.setNamePolicy
(XmlViolationPolicy namePolicy) The policy for non-NCName element and attribute names.void
HtmlDocumentBuilder.setStreamabilityViolationPolicy
(XmlViolationPolicy streamabilityViolationPolicy) Sets the streamabilityViolationPolicy.void
HtmlDocumentBuilder.setXmlnsPolicy
(XmlViolationPolicy xmlnsPolicy) Whether thexmlns
attribute on the root element is passed to through.void
HtmlDocumentBuilder.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
Fields in nu.validator.htmlparser.impl declared as XmlViolationPolicyModifier and TypeFieldDescriptionprivate XmlViolationPolicy
Tokenizer.commentPolicy
The policy for comments.private XmlViolationPolicy
ErrorReportingTokenizer.contentNonXmlCharPolicy
The policy for non-space non-XML characters.private XmlViolationPolicy
Tokenizer.contentSpacePolicy
The policy for vertical tab and form feed.private XmlViolationPolicy
Tokenizer.namePolicy
private XmlViolationPolicy
TreeBuilder.namePolicy
private XmlViolationPolicy
Tokenizer.xmlnsPolicy
Methods in nu.validator.htmlparser.impl with parameters of type XmlViolationPolicyModifier and TypeMethodDescription(package private) void
HtmlAttributes.addAttribute
(AttributeName name, String value, XmlViolationPolicy xmlnsPolicy) (package private) void
HtmlAttributes.processNonNcNames
(TreeBuilder<?> treeBuilder, XmlViolationPolicy namePolicy) void
Tokenizer.setCommentPolicy
(XmlViolationPolicy commentPolicy) Sets the commentPolicy.void
ErrorReportingTokenizer.setContentNonXmlCharPolicy
(XmlViolationPolicy contentNonXmlCharPolicy) Sets the contentNonXmlCharPolicy.void
Tokenizer.setContentNonXmlCharPolicy
(XmlViolationPolicy contentNonXmlCharPolicy) Sets the contentNonXmlCharPolicy.void
Tokenizer.setContentSpacePolicy
(XmlViolationPolicy contentSpacePolicy) Sets the contentSpacePolicy.void
Tokenizer.setNamePolicy
(XmlViolationPolicy namePolicy) void
TreeBuilder.setNamePolicy
(XmlViolationPolicy namePolicy) void
Tokenizer.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 TypeMethodDescriptionvoid
Driver.setCommentPolicy
(XmlViolationPolicy commentPolicy) void
Driver.setContentNonXmlCharPolicy
(XmlViolationPolicy contentNonXmlCharPolicy) void
Driver.setContentSpacePolicy
(XmlViolationPolicy contentSpacePolicy) void
Driver.setNamePolicy
(XmlViolationPolicy namePolicy) void
Driver.setXmlnsPolicy
(XmlViolationPolicy xmlnsPolicy) -
Uses of XmlViolationPolicy in nu.validator.htmlparser.sax
Fields in nu.validator.htmlparser.sax declared as XmlViolationPolicyModifier and TypeFieldDescriptionprivate XmlViolationPolicy
HtmlParser.commentPolicy
private XmlViolationPolicy
HtmlParser.contentNonXmlCharPolicy
private XmlViolationPolicy
HtmlParser.contentSpacePolicy
private XmlViolationPolicy
HtmlParser.namePolicy
private XmlViolationPolicy
HtmlParser.streamabilityViolationPolicy
private XmlViolationPolicy
HtmlParser.xmlnsPolicy
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 TypeMethodDescriptionvoid
HtmlParser.setBogusXmlnsPolicy
(XmlViolationPolicy bogusXmlnsPolicy) Deprecated.void
HtmlParser.setCommentPolicy
(XmlViolationPolicy commentPolicy) Sets the policy for consecutive hyphens in comments.void
HtmlParser.setContentNonXmlCharPolicy
(XmlViolationPolicy contentNonXmlCharPolicy) Sets the policy for non-XML characters except white space.void
HtmlParser.setContentSpacePolicy
(XmlViolationPolicy contentSpacePolicy) Sets the policy for non-XML white space.void
HtmlParser.setNamePolicy
(XmlViolationPolicy namePolicy) The policy for non-NCName element and attribute names.void
HtmlParser.setStreamabilityViolationPolicy
(XmlViolationPolicy streamabilityViolationPolicy) Sets the streamabilityViolationPolicy.void
HtmlParser.setXmlnsPolicy
(XmlViolationPolicy xmlnsPolicy) Whether thexmlns
attribute on the root element is passed to through.void
HtmlParser.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
Fields in nu.validator.htmlparser.xom declared as XmlViolationPolicyModifier and TypeFieldDescriptionprivate XmlViolationPolicy
HtmlBuilder.commentPolicy
private XmlViolationPolicy
HtmlBuilder.contentNonXmlCharPolicy
private XmlViolationPolicy
HtmlBuilder.contentSpacePolicy
private XmlViolationPolicy
HtmlBuilder.namePolicy
private XmlViolationPolicy
HtmlBuilder.streamabilityViolationPolicy
private XmlViolationPolicy
HtmlBuilder.xmlnsPolicy
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 TypeMethodDescriptionvoid
HtmlBuilder.setBogusXmlnsPolicy
(XmlViolationPolicy bogusXmlnsPolicy) Deprecated.void
HtmlBuilder.setCommentPolicy
(XmlViolationPolicy commentPolicy) Sets the policy for consecutive hyphens in comments.void
HtmlBuilder.setContentNonXmlCharPolicy
(XmlViolationPolicy contentNonXmlCharPolicy) Sets the policy for non-XML characters except white space.void
HtmlBuilder.setContentSpacePolicy
(XmlViolationPolicy contentSpacePolicy) Sets the policy for non-XML white space.void
HtmlBuilder.setNamePolicy
(XmlViolationPolicy namePolicy) The policy for non-NCName element and attribute names.void
HtmlBuilder.setStreamabilityViolationPolicy
(XmlViolationPolicy streamabilityViolationPolicy) Sets the streamabilityViolationPolicy.void
HtmlBuilder.setXmlnsPolicy
(XmlViolationPolicy xmlnsPolicy) Whether thexmlns
attribute on the root element is passed to through.void
HtmlBuilder.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.