Package com.marklogic.dom
Class CharacterDataImpl
- java.lang.Object
-
- com.marklogic.dom.NodeImpl
-
- com.marklogic.dom.CharacterDataImpl
-
- All Implemented Interfaces:
CharacterData,Node
- Direct Known Subclasses:
CommentImpl,TextImpl
public abstract class CharacterDataImpl extends NodeImpl implements CharacterData
A read-only W3C DOM Node implementation of MarkLogic's internal representation of character data as stored in the expanded tree cache of a forest on disk.This interface is effectively read-only. Setters and update methods inherited from
org.w3c.Nodeare not supported and will raise an exception if called.
-
-
Field Summary
-
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
-
-
Constructor Summary
Constructors Constructor Description CharacterDataImpl(ExpandedTree tree, int node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidappendData(String arg)Unsupported.voiddeleteData(int offset, int count)Unsupported.StringgetData()intgetLength()StringgetNodeValue()voidinsertData(int offset, String arg)Unsupported.voidreplaceData(int offset, int count, String arg)Unsupported.voidsetData(String data)Unsupported.StringsubstringData(int offset, int count)-
Methods inherited from class com.marklogic.dom.NodeImpl
appendChild, builtinNSPrefix, cloneNode, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getElementsByTagNameNSOrNodeName, getExpandedTree, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextChild, getNextSibling, getNodeName, getNodeType, getNSNodeID, getNSNodeID, getOwnerDocument, getParentNode, getPrefix, getPrefixID, getPreviousChild, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, nextNSNodeID, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, 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
-
-
-
-
Constructor Detail
-
CharacterDataImpl
public CharacterDataImpl(ExpandedTree tree, int node)
-
-
Method Detail
-
appendData
public void appendData(String arg) throws DOMException
Unsupported.- Specified by:
appendDatain interfaceCharacterData- Throws:
DOMException
-
deleteData
public void deleteData(int offset, int count) throws DOMExceptionUnsupported.- Specified by:
deleteDatain interfaceCharacterData- Throws:
DOMException
-
getData
public String getData() throws DOMException
- Specified by:
getDatain interfaceCharacterData- Throws:
DOMException
-
getLength
public int getLength()
- Specified by:
getLengthin interfaceCharacterData
-
getNodeValue
public String getNodeValue() throws DOMException
- Specified by:
getNodeValuein interfaceNode- Overrides:
getNodeValuein classNodeImpl- Throws:
DOMException
-
insertData
public void insertData(int offset, String arg) throws DOMExceptionUnsupported.- Specified by:
insertDatain interfaceCharacterData- Throws:
DOMException
-
replaceData
public void replaceData(int offset, int count, String arg) throws DOMExceptionUnsupported.- Specified by:
replaceDatain interfaceCharacterData- Throws:
DOMException
-
setData
public void setData(String data) throws DOMException
Unsupported.- Specified by:
setDatain interfaceCharacterData- Throws:
DOMException
-
substringData
public String substringData(int offset, int count) throws DOMException
- Specified by:
substringDatain interfaceCharacterData- Throws:
DOMException
-
-