Package nu.validator.saxtree
Class Entity
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.Entity
- All Implemented Interfaces:
Locator
An entity.
- Version:
- $Id$
-
Field Summary
FieldsFields inherited from class nu.validator.saxtree.ParentNode
endLocator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name.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
-
Field Details
-
name
The name.
-
-
Constructor Details
-
Entity
The constructor.- Parameters:
locator
- the locatorname
- the name
-
-
Method Details
-
visit
Description copied from class:Node
Visit the node.- Specified by:
visit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
SAXException
- if stuff goes wrong- See Also:
-
revisit
Description copied from class:Node
Revisit the node.- Overrides:
revisit
in classNode
- Parameters:
treeParser
- the visitor- Throws:
SAXException
- if stuff goes wrong- See Also:
-
getNodeType
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
-
getName
Returns the name.
-