org.exist.memtree
Class CDATASectionImpl
java.lang.Object
org.exist.memtree.NodeImpl
org.exist.memtree.CDATASectionImpl
- All Implemented Interfaces:
- Comparable, QNameable, Item, NodeValue, Sequence, CDATASection, CharacterData, Node, Text
public class CDATASectionImpl
- extends NodeImpl
- implements CDATASection
Represents a CDATA section.
- Author:
- wolf
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Methods inherited from class org.exist.memtree.NodeImpl |
add, addAll, addContextNode, after, appendChild, atomize, before, clearContext, cloneNode, compareDocumentPosition, compareTo, conversionPreference, convertTo, copyTo, deepCopy, effectiveBooleanValue, equals, equals, expand, getAttributes, getBaseURI, getCardinality, getChildNodes, getCollectionIterator, getDocument, getDocumentSet, getFeature, getImplementationType, getItemCount, getItemType, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeNumber, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getQName, getStringValue, getTextContent, getType, getUserData, hasAttributes, hasChildNodes, hasMany, hasOne, insertBefore, isCached, isDefaultNamespace, isEmpty, isEqualNode, isPersistentSet, isSameNode, isSupported, itemAt, iterate, lookupNamespaceURI, lookupPrefix, nodeMoved, normalize, removeChild, removeDuplicates, replaceChild, setIsCached, setNodeValue, setPrefix, setSelfAsContext, setTextContent, setUserData, streamTo, toJavaObject, toNodeSet, toSAX, toSequence, unorderedIterator |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
CDATASectionImpl
public CDATASectionImpl(DocumentImpl doc,
int nodeNumber)
- Parameters:
doc - nodeNumber -
splitText
public Text splitText(int offset)
throws DOMException
- Specified by:
splitText in interface Text
- Throws:
DOMException
deleteData
public void deleteData(int offset,
int count)
throws DOMException
- Specified by:
deleteData in interface CharacterData
- Throws:
DOMException
getData
public String getData()
throws DOMException
- Specified by:
getData in interface CharacterData
- Throws:
DOMException
getNodeValue
public String getNodeValue()
- Specified by:
getNodeValue in interface Node- Overrides:
getNodeValue in class NodeImpl
getLength
public int getLength()
- Specified by:
getLength in interface CharacterData- Overrides:
getLength in class NodeImpl
substringData
public String substringData(int offset,
int count)
throws DOMException
- Specified by:
substringData in interface CharacterData
- Throws:
DOMException
replaceData
public void replaceData(int offset,
int count,
String arg)
throws DOMException
- Specified by:
replaceData in interface CharacterData
- Throws:
DOMException
insertData
public void insertData(int offset,
String arg)
throws DOMException
- Specified by:
insertData in interface CharacterData
- Throws:
DOMException
appendData
public void appendData(String arg)
throws DOMException
- Specified by:
appendData in interface CharacterData
- Throws:
DOMException
setData
public void setData(String data)
throws DOMException
- Specified by:
setData in interface CharacterData
- Throws:
DOMException
isElementContentWhitespace
public boolean isElementContentWhitespace()
- ? @see org.w3c.dom.Text#isElementContentWhitespace()
- Specified by:
isElementContentWhitespace in interface Text
getWholeText
public String getWholeText()
- ? @see org.w3c.dom.Text#getWholeText()
- Specified by:
getWholeText in interface Text
replaceWholeText
public Text replaceWholeText(String content)
throws DOMException
- ? @see org.w3c.dom.Text#replaceWholeText(java.lang.String)
- Specified by:
replaceWholeText in interface Text
- Throws:
DOMException
toString
public String toString()
- Overrides:
toString in class Object
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild in interface Node- Overrides:
getFirstChild in class NodeImpl
Copyright (C) Wolfgang Meier. All rights reserved.