public final class Entity extends ParentNode
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
The name.
|
endLocator
Constructor and Description |
---|
Entity(org.xml.sax.Locator locator,
java.lang.String name)
The constructor.
|
Modifier and Type | Method and 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.
|
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, setEndLocator
detach, getAttributes, getColumnNumber, getData, getLineNumber, getLocalName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getTarget, getUri, setNextSibling, setParentNode
public Entity(org.xml.sax.Locator locator, java.lang.String name)
locator
- the locatorname
- the namevoid visit(TreeParser treeParser) throws org.xml.sax.SAXException
Node
visit
in class Node
treeParser
- the visitororg.xml.sax.SAXException
- if stuff goes wrongNode.visit(nu.validator.saxtree.TreeParser)
void revisit(TreeParser treeParser) throws org.xml.sax.SAXException
Node
revisit
in class Node
treeParser
- the visitororg.xml.sax.SAXException
- if stuff goes wrongNode.revisit(nu.validator.saxtree.TreeParser)
public NodeType getNodeType()
Node
getNodeType
in class Node
Node.getNodeType()