org.apache.xalan.stree
Class CDATASectionImpl

java.lang.Object
  |
  +--org.apache.xml.utils.UnImplNode
        |
        +--org.apache.xalan.stree.Child
              |
              +--org.apache.xalan.stree.TextImpl
                    |
                    +--org.apache.xalan.stree.CDATASectionImpl

public class CDATASectionImpl
extends TextImpl
implements CDATASection

**For internal use only** Class to hold information about a CDATASection node


Constructor Summary
CDATASectionImpl(DocumentImpl doc, char[] ch, int start, int length)
          Constructor CDATASectionImpl
CDATASectionImpl(DocumentImpl doc, java.lang.String data)
          Constructor CDATASectionImpl
 
Method Summary
 java.lang.String getLocalName()
          Returns the local part of the qualified name of this node.
 java.lang.String getNodeName()
          Returns the node name.
 short getNodeType()
          Returns the node type.
 
Methods inherited from class org.apache.xalan.stree.TextImpl
dispatchCharactersEvent, getData, getLength, getLengthInBuffer, getNodeValue, getStartOffsetInBuffer
 
Methods inherited from class org.apache.xalan.stree.Child
getAttributes, getFirstChild, getLastChild, getLevel, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTagName, getUid, hasChildNodes, isComplete, isNamespaceNode, isSupported, setAttribute, setComplete, setLevel
 
Methods inherited from class org.apache.xml.utils.UnImplNode
appendChild, appendData, cloneNode, createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, deleteData, error, error, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildNodes, getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, getOwnerElement, getSpecified, hasAttribute, hasAttributeNS, hasAttributes, importNode, insertBefore, insertData, item, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, replaceData, setAttributeNode, setAttributeNodeNS, setAttributeNS, setData, setNodeValue, setPrefix, setValue, splitText, substringData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDATASectionImpl

public CDATASectionImpl(DocumentImpl doc,
                        java.lang.String data)
Constructor CDATASectionImpl
Parameters:
doc - Document object
data - CDATASection data

CDATASectionImpl

public CDATASectionImpl(DocumentImpl doc,
                        char[] ch,
                        int start,
                        int length)
Constructor CDATASectionImpl
Parameters:
doc - Document object
ch - Array of characters in CDATASection
start - Beginning of CDATASection data in the array
length - Number of characters in CDATASection data in the array
Method Detail

getNodeType

public short getNodeType()
Returns the node type.
Returns:
node type
Overrides:
getNodeType in class TextImpl

getNodeName

public java.lang.String getNodeName()
Returns the node name.
Returns:
node name
Overrides:
getNodeName in class TextImpl

getLocalName

public java.lang.String getLocalName()
Returns the local part of the qualified name of this node.
For nodes created with a DOM Level 1 method, such as createElement from the Document interface, it is null.
Returns:
node local name
Overrides:
getLocalName in class TextImpl
Since:
DOM Level 2


Copyright � 2000 Apache XML Project. All Rights Reserved.