Class DTD
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.ParentNode
nu.validator.saxtree.DTD
- All Implemented Interfaces:
Locator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StringThe name.private final StringThe public id.private final StringThe system id.Fields inherited from class 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 ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, removeChild, setEndLocatorMethods inherited from class 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
-
-
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
-
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:
-