Package nu.validator.saxtree
Class Entity
- java.lang.Object
-
- nu.validator.saxtree.Node
-
- nu.validator.saxtree.ParentNode
-
- nu.validator.saxtree.Entity
-
- All Implemented Interfaces:
org.xml.sax.Locator
public final class Entity extends ParentNode
An entity.- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
name
The name.-
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator
-
-
Constructor Summary
Constructors Constructor Description Entity(org.xml.sax.Locator locator, java.lang.String name)
The constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name.NodeType
getNodeType()
Return the node type.(package private) void
revisit(TreeParser treeParser)
Revisit the node.(package private) void
visit(TreeParser treeParser)
Visit the node.-
Methods inherited from class nu.validator.saxtree.ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, 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, setNextSibling, setParentNode
-
-
-
-
Method Detail
-
visit
void visit(TreeParser treeParser) throws org.xml.sax.SAXException
Description copied from class:Node
Visit the node.- Specified by:
visit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
org.xml.sax.SAXException
- if stuff goes wrong- See Also:
Node.visit(nu.validator.saxtree.TreeParser)
-
revisit
void revisit(TreeParser treeParser) throws org.xml.sax.SAXException
Description copied from class:Node
Revisit the node.- Overrides:
revisit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
org.xml.sax.SAXException
- if stuff goes wrong- See Also:
Node.revisit(nu.validator.saxtree.TreeParser)
-
getNodeType
public NodeType getNodeType()
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
Node.getNodeType()
-
-