Package nu.validator.saxtree
Class DTD
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.DTD
- All Implemented Interfaces:
Locator
A doctype.
- Version:
- $Id$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe name.private final StringThe public id.private final StringThe system id.Fields inherited from class nu.validator.saxtree.ParentNode
endLocator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name.Return the node type.Returns the publicIdentifier.Returns the systemIdentifier.(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, setEndLocatorMethods inherited from class nu.validator.saxtree.Node
detach, getAttributes, getColumnNumber, getData, getLineNumber, getLocalName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getQName, getSystemId, getTarget, getUri, setNextSibling, setParentNode
-
Field Details
-
name
The name. -
publicIdentifier
The public id. -
systemIdentifier
The system id.
-
-
Constructor Details
-
DTD
The constructor.- Parameters:
locator- the locatorname- the namepublicIdentifier- the public idsystemIdentifier- the system id
-
-
Method Details
-
visit
Description copied from class:NodeVisit the node.- Specified by:
visitin classNode- Parameters:
treeParser- the visitor- Throws:
SAXException- if stuff goes wrong- See Also:
-
revisit
Description copied from class:NodeRevisit the node.- Overrides:
revisitin classNode- Parameters:
treeParser- the visitor- Throws:
SAXException- if stuff goes wrong- See Also:
-
getName
Returns the name. -
getPublicIdentifier
Returns the publicIdentifier.- Overrides:
getPublicIdentifierin classNode- Returns:
- the publicIdentifier
-
getSystemIdentifier
Returns the systemIdentifier.- Overrides:
getSystemIdentifierin classNode- Returns:
- the systemIdentifier
-
getNodeType
Description copied from class:NodeReturn the node type.- Specified by:
getNodeTypein classNode- Returns:
- the node type
- See Also:
-