nu.validator.saxtree
Class Document

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by nu.validator.saxtree.ParentNode
          extended by nu.validator.saxtree.Document
All Implemented Interfaces:
org.xml.sax.Locator

public final class Document
extends ParentNode

A document.

Version:
$Id$
Author:
hsivonen

Field Summary
 
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator
 
Constructor Summary
Document(org.xml.sax.Locator locator)
          The constructor.
 
Method Summary
 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, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getTarget, getUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Document

public Document(org.xml.sax.Locator locator)
The constructor.

Parameters:
locator - the locator
Method Detail

getNodeType

public NodeType getNodeType()
Description copied from class: Node
Return the node type.

Specified by:
getNodeType in class Node
Returns:
the node type
See Also:
Node.getNodeType()