com.jclark.xsl.dom
Class TextNode

java.lang.Object
  |
  +--com.jclark.xsl.dom.NodeBase
        |
        +--com.jclark.xsl.dom.TextNode
All Implemented Interfaces:
Node

class TextNode
extends NodeBase


Field Summary
(package private)  java.lang.StringBuffer buf
           
(package private)  java.lang.String value
           
 
Fields inherited from class com.jclark.xsl.dom.NodeBase
domNode, level, parent, root
 
Fields inherited from interface com.jclark.xsl.om.Node
ATTRIBUTE, COMMENT, ELEMENT, N_TYPES, PROCESSING_INSTRUCTION, ROOT, TEXT
 
Constructor Summary
(package private) TextNode(org.w3c.dom.Node domNode, ContainerNode parent, int childIndex)
           
 
Method Summary
 java.lang.String getData()
          Returns text for TEXT node; value for attribute node; content for comment node; content after PI for PI node; null otherwise.
 byte getType()
           
(package private)  void merge(java.lang.String value)
           
 
Methods inherited from class com.jclark.xsl.dom.NodeBase
compareTo, equals, getAttribute, getAttributes, getAttributeValue, getChildren, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, getName, getNamespacePrefixMap, getParent, getRoot, getUnparsedEntityURI, getURL, isId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buf

java.lang.StringBuffer buf

value

java.lang.String value
Constructor Detail

TextNode

TextNode(org.w3c.dom.Node domNode,
         ContainerNode parent,
         int childIndex)
Method Detail

getType

public final byte getType()

merge

void merge(java.lang.String value)

getData

public final java.lang.String getData()
Description copied from interface: Node
Returns text for TEXT node; value for attribute node; content for comment node; content after PI for PI node; null otherwise.

Specified by:
getData in interface Node
Overrides:
getData in class NodeBase