com.jclark.xsl.dom
Class ProcessingInstructionNode

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

class ProcessingInstructionNode
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
(package private) ProcessingInstructionNode(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.
 Name getName()
          Returns element type name for element; attribute name for an attribute; target for a PI.
 byte getType()
           
 
Methods inherited from class com.jclark.xsl.dom.NodeBase
compareTo, equals, getAttribute, getAttributes, getAttributeValue, getChildren, getElementWithId, getFollowingSiblings, getGeneratedId, getLineNumber, 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

ProcessingInstructionNode

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

getType

public byte getType()

getName

public Name getName()
Description copied from interface: Node
Returns element type name for element; attribute name for an attribute; target for a PI.

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

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