nu.validator.saxtree
Class Characters

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by nu.validator.saxtree.CharBufferNode
          extended by nu.validator.saxtree.Characters
All Implemented Interfaces:
Locator

public final class Characters
extends CharBufferNode

A run of characters

Version:
$Id: Characters.java 367 2008-07-02 18:27:22Z hsivonen $
Author:
hsivonen

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

Constructor Detail

Characters

public Characters(Locator locator,
                  char[] buf,
                  int start,
                  int length)
The constructor.

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

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