nu.validator.saxtree
Class Comment
java.lang.Object
nu.validator.saxtree.Node
nu.validator.saxtree.CharBufferNode
nu.validator.saxtree.Comment
- All Implemented Interfaces:
- Locator
public final class Comment
- extends CharBufferNode
A comment.
- Version:
- $Id: Comment.java 367 2008-07-02 18:27:22Z hsivonen $
- Author:
- hsivonen
|
Constructor Summary |
Comment(Locator locator,
char[] buf,
int start,
int length)
The constructor. |
| 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 |
Comment
public Comment(Locator locator,
char[] buf,
int start,
int length)
- The constructor.
- Parameters:
locator - the locatorbuf - the bufferstart - the offsetlength - the length
visit
void visit(TreeParser treeParser)
throws SAXException
- Description copied from class:
Node
- Visit the node.
- Specified by:
visit in class Node
- Parameters:
treeParser - the visitor
- Throws:
SAXException - if stuff goes wrong- See Also:
Node.visit(nu.validator.saxtree.TreeParser)
getNodeType
public NodeType getNodeType()
- Description copied from class:
Node
- Return the node type.
- Specified by:
getNodeType in class Node
- Returns:
- the node type
- See Also:
Node.getNodeType()