Package nu.validator.saxtree
Class Comment
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.CharBufferNode
nu.validator.saxtree.Comment
- All Implemented Interfaces:
Locator
A comment.
- Version:
- $Id$
-
Field Summary
Fields inherited from class nu.validator.saxtree.CharBufferNode
buffer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the node type.(package private) void
visit
(TreeParser treeParser) Visit the node.Methods inherited from class nu.validator.saxtree.CharBufferNode
toString
Methods inherited from class nu.validator.saxtree.Node
detach, getAttributes, getColumnNumber, getData, getFirstChild, getLineNumber, getLocalName, getName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getPublicIdentifier, getQName, getSystemId, getSystemIdentifier, getTarget, getUri, revisit, setNextSibling, setParentNode
-
Constructor Details
-
Comment
The constructor.- Parameters:
locator
- the locatorbuf
- the bufferstart
- the offsetlength
- the length
-
-
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:
-
getNodeType
Description copied from class:Node
Return the node type.- Specified by:
getNodeType
in classNode
- Returns:
- the node type
- See Also:
-