nu.validator.saxtree
Class Comment

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by nu.validator.saxtree.CharBufferNode
          extended by nu.validator.saxtree.Comment
All Implemented Interfaces:
org.xml.sax.Locator

public final class Comment
extends CharBufferNode

A comment.

Version:
$Id$
Author:
hsivonen

Field Summary
 
Fields inherited from class nu.validator.saxtree.CharBufferNode
buffer
 
Constructor Summary
Comment(org.xml.sax.Locator locator, char[] buf, int start, int length)
          The constructor.
 
Method Summary
 NodeType getNodeType()
          Return the node type.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Comment

public Comment(org.xml.sax.Locator locator,
               char[] buf,
               int start,
               int length)
The constructor.

Parameters:
locator - the locator
buf - the buffer
start - the offset
length - the length
Method Detail

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()