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 String
The name.private final String
The public id.private final String
The 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) 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, 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: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:
-
getName
Returns the name. -
getPublicIdentifier
Returns the publicIdentifier.- Overrides:
getPublicIdentifier
in classNode
- Returns:
- the publicIdentifier
-
getSystemIdentifier
Returns the systemIdentifier.- Overrides:
getSystemIdentifier
in classNode
- Returns:
- the systemIdentifier
-
getNodeType
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
-