|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use XmlViolationPolicy | |
---|---|
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.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 | |
---|---|
static XmlViolationPolicy |
XmlViolationPolicy.valueOf(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're declared. |
Uses of XmlViolationPolicy in nu.validator.htmlparser.dom |
---|
Methods in nu.validator.htmlparser.dom with parameters of type XmlViolationPolicy | |
---|---|
void |
HtmlDocumentBuilder.setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)
Sets the policy for forbidden xmlns attributes. |
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)
|
void |
HtmlDocumentBuilder.setXmlPolicy(XmlViolationPolicy xmlPolicy)
This is a catch-all convenience method for setting name, content space, content non-XML char and comment policies in one go. |
Constructors in nu.validator.htmlparser.dom with parameters of type XmlViolationPolicy | |
---|---|
HtmlDocumentBuilder(DOMImplementation implementation,
XmlViolationPolicy xmlPolicy)
Instantiates the document builder with a specific DOM implementation and XML violation policy. |
|
HtmlDocumentBuilder(XmlViolationPolicy xmlPolicy)
Instantiates the document builder with the JAXP DOM implementation and a specific XML violation policy. |
Uses of XmlViolationPolicy in nu.validator.htmlparser.impl |
---|
Fields in nu.validator.htmlparser.impl declared as XmlViolationPolicy | |
---|---|
private XmlViolationPolicy |
Tokenizer.bogusXmlnsPolicy
|
private XmlViolationPolicy |
Tokenizer.commentPolicy
The policy for comments. |
private XmlViolationPolicy |
Tokenizer.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 |
Tokenizer.xmlnsPolicy
|
Methods in nu.validator.htmlparser.impl that return XmlViolationPolicy | |
---|---|
XmlViolationPolicy |
Tokenizer.getCommentPolicy()
Returns the commentPolicy. |
XmlViolationPolicy |
Tokenizer.getContentNonXmlCharPolicy()
Returns the contentNonXmlCharPolicy. |
XmlViolationPolicy |
Tokenizer.getContentSpacePolicy()
Returns the contentSpacePolicy. |
Methods in nu.validator.htmlparser.impl with parameters of type XmlViolationPolicy | |
---|---|
void |
Tokenizer.setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)
Sets the bogusXmlnsPolicy. |
void |
Tokenizer.setCommentPolicy(XmlViolationPolicy commentPolicy)
Sets the commentPolicy. |
void |
Tokenizer.setContentNonXmlCharPolicy(XmlViolationPolicy contentNonXmlCharPolicy)
Sets the contentNonXmlCharPolicy. |
void |
Tokenizer.setContentSpacePolicy(XmlViolationPolicy contentSpacePolicy)
Sets the contentSpacePolicy. |
void |
Tokenizer.setNamePolicy(XmlViolationPolicy namePolicy)
|
void |
Tokenizer.setXmlnsPolicy(XmlViolationPolicy xmlnsPolicy)
Sets the xmlnsPolicy. |
Constructors in nu.validator.htmlparser.impl with parameters of type XmlViolationPolicy | |
---|---|
TreeBuilder(XmlViolationPolicy streamabilityViolationPolicy,
boolean coalescingText)
|
Uses of XmlViolationPolicy in nu.validator.htmlparser.sax |
---|
Fields in nu.validator.htmlparser.sax declared as XmlViolationPolicy | |
---|---|
private XmlViolationPolicy |
HtmlParser.bogusXmlnsPolicy
|
private 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 XmlViolationPolicy | |
---|---|
XmlViolationPolicy |
HtmlParser.getBogusXmlnsPolicy()
Returns the bogusXmlnsPolicy. |
XmlViolationPolicy |
HtmlParser.getCommentPolicy()
Returns the commentPolicy. |
XmlViolationPolicy |
HtmlParser.getContentNonXmlCharPolicy()
Returns the contentNonXmlCharPolicy. |
XmlViolationPolicy |
HtmlParser.getContentSpacePolicy()
Returns the contentSpacePolicy. |
XmlViolationPolicy |
HtmlParser.getNamePolicy()
The policy for non-NCName element and attribute names. |
XmlViolationPolicy |
HtmlParser.getStreamabilityViolationPolicy()
Returns the streamabilityViolationPolicy. |
XmlViolationPolicy |
HtmlParser.getXmlnsPolicy()
Returns the xmlnsPolicy. |
Methods in nu.validator.htmlparser.sax with parameters of type XmlViolationPolicy | |
---|---|
void |
HtmlParser.setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)
Sets the policy for forbidden xmlns attributes. |
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 the xmlns 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 XmlViolationPolicy | |
---|---|
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 with parameters of type XmlViolationPolicy | |
---|---|
void |
HtmlBuilder.setBogusXmlnsPolicy(XmlViolationPolicy bogusXmlnsPolicy)
Sets the policy for forbidden xmlns attributes. |
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)
|
void |
HtmlBuilder.setXmlPolicy(XmlViolationPolicy xmlPolicy)
This is a catch-all convenience method for setting name, content space, content non-XML char and comment policies in one go. |
Constructors in nu.validator.htmlparser.xom with parameters of type XmlViolationPolicy | |
---|---|
HtmlBuilder(SimpleNodeFactory nodeFactory,
XmlViolationPolicy xmlPolicy)
Constructor with given node factory and given XML violation policy. |
|
HtmlBuilder(XmlViolationPolicy xmlPolicy)
Constructor with default node factory and given XML violation policy. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |