nu.validator.saxtree
Class Entity

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

public final class Entity
extends ParentNode

An entity.

Version:
$Id$
Author:
hsivonen

Field Summary
 
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator
 
Constructor Summary
Entity(org.xml.sax.Locator locator, java.lang.String name)
          The constructor.
 
Method Summary
 java.lang.String getName()
          Returns the name.
 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, 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

Entity

public Entity(org.xml.sax.Locator locator,
              java.lang.String name)
The constructor.

Parameters:
locator - the locator
name - the name
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()

getName

public java.lang.String getName()
Returns the name.

Overrides:
getName in class Node
Returns:
the name