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.StringnameThe 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.StringgetName()Returns the name.NodeTypegetNodeType()Return the node type.(package private) voidrevisit(TreeParser treeParser)Revisit the node.(package private) voidvisit(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:NodeVisit the node.- Specified by:
visitin 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:NodeRevisit the node.- Overrides:
revisitin 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:NodeReturn the node type.- Specified by:
getNodeTypein classNode- Returns:
- the node type
- See Also:
Node.getNodeType()
-
-