Package nu.validator.saxtree
Class Document
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.Document
- All Implemented Interfaces:
org.xml.sax.ext.Locator2
,org.xml.sax.Locator
public final class Document extends ParentNode
A document.
- Version:
- $Id$
- Author:
- hsivonen
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Document(org.xml.sax.Locator locator)
The constructor. -
Method Summary
Modifier and Type Method Description NodeType
getNodeType()
Return the node type.Methods inherited from class nu.validator.saxtree.ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, setEndLocator
Methods inherited from class nu.validator.saxtree.Node
detach, getAttributes, getColumnNumber, getData, getEncoding, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getTarget, getUri, getXMLVersion
-
Constructor Details
-
Document
public Document(org.xml.sax.Locator locator)The constructor.- Parameters:
locator
- the locator
-
-
Method Details
-
getNodeType
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
Node.getNodeType()
-