com.jclark.xsl.dom
Class CommentNode

java.lang.Object
  extended by com.jclark.xsl.dom.NodeBase
      extended by com.jclark.xsl.dom.CommentNode
All Implemented Interfaces:
Node

 class CommentNode
extends NodeBase


Field Summary
 
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
CommentNode(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()
           
 
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
 

Constructor Detail

CommentNode

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

getType

public byte getType()

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