public final class Document extends ParentNode
endLocator
Constructor and Description |
---|
Document(org.xml.sax.Locator locator)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
NodeType |
getNodeType()
Return the node type.
|
(package private) void |
revisit(TreeParser treeParser)
Revisit the node.
|
(package private) void |
visit(TreeParser treeParser)
Visit the node.
|
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, setEndLocator
detach, getAttributes, getColumnNumber, getData, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getTarget, getUri, setNextSibling, setParentNode
public Document(org.xml.sax.Locator locator)
locator
- the locatorvoid visit(TreeParser treeParser) throws org.xml.sax.SAXException
Node
visit
in class Node
treeParser
- the visitororg.xml.sax.SAXException
- if stuff goes wrongNode.visit(nu.validator.saxtree.TreeParser)
void revisit(TreeParser treeParser) throws org.xml.sax.SAXException
Node
revisit
in class Node
treeParser
- the visitororg.xml.sax.SAXException
- if stuff goes wrongNode.revisit(nu.validator.saxtree.TreeParser)
public NodeType getNodeType()
Node
getNodeType
in class Node
Node.getNodeType()