org.exist.dom
Class CDATASectionImpl
java.lang.Object
org.exist.dom.NodeImpl
org.exist.dom.StoredNode
org.exist.dom.CharacterDataImpl
org.exist.dom.CDATASectionImpl
- All Implemented Interfaces:
- QNameable, Visitable, CDATASection, CharacterData, Node, Text
public class CDATASectionImpl
- extends CharacterDataImpl
- implements CDATASection
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.dom.CharacterDataImpl |
appendData, appendData, clear, deleteData, getData, getLength, getLowerCaseData, getNodeValue, getXMLString, insertData, readData, release, replaceData, setData, setData, setData, substringData, toString |
Methods inherited from class org.exist.dom.StoredNode |
accept, accept, deserialize, equals, getDocId, getDocument, getInternalAddress, getNextSibling, getNodeId, getNodeType, getOwnerDocument, getParentNode, getPath, getPath, getPreviousSibling, getQName, isDirty, setDirty, setInternalAddress, setNodeId, setOwnerDocument, toString |
Methods inherited from class org.exist.dom.NodeImpl |
appendChild, appendChildren, cloneNode, compareDocumentPosition, getAttributes, getAttributesCount, getBaseURI, getChildNodes, getFeature, getLastChild, getLocalName, getNamespaceURI, getNodeName, getPrefix, getTextContent, getUserData, hasAttributes, insertAfter, insertAfter, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setNodeName, setNodeValue, setPrefix, setTextContent, setUserData, supports, updateChild, updateChild |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
CDATASectionImpl
public CDATASectionImpl()
CDATASectionImpl
public CDATASectionImpl(NodeId nodeId,
String data)
CDATASectionImpl
public CDATASectionImpl(NodeId nodeId)
CDATASectionImpl
public CDATASectionImpl(XMLString data)
getChildCount
public int getChildCount()
- Overrides:
getChildCount
in class NodeImpl
getFirstChild
public Node getFirstChild()
- Specified by:
getFirstChild
in interface Node
- Overrides:
getFirstChild
in class NodeImpl
- See Also:
Node.getFirstChild()
hasChildNodes
public boolean hasChildNodes()
- Specified by:
hasChildNodes
in interface Node
- Overrides:
hasChildNodes
in class NodeImpl
- See Also:
Node.hasChildNodes()
getWholeText
public String getWholeText()
- Specified by:
getWholeText
in interface Text
isElementContentWhitespace
public boolean isElementContentWhitespace()
- Specified by:
isElementContentWhitespace
in interface Text
replaceWholeText
public Text replaceWholeText(String content)
throws DOMException
- Specified by:
replaceWholeText
in interface Text
- Throws:
DOMException
splitText
public Text splitText(int offset)
throws DOMException
- Specified by:
splitText
in interface Text
- Throws:
DOMException
serialize
public byte[] serialize()
- Overrides:
serialize
in class StoredNode
deserialize
public static StoredNode deserialize(byte[] data,
int start,
int len,
DocumentImpl doc,
boolean pooled)
Copyright (C) Wolfgang Meier. All rights reserved.