org.exist.dom
Class CharacterDataImpl
java.lang.Object
org.exist.dom.NodeImpl
org.exist.dom.StoredNode
org.exist.dom.CharacterDataImpl
- All Implemented Interfaces:
- org.w3c.dom.CharacterData, org.w3c.dom.Node, QNameable
- Direct Known Subclasses:
- CommentImpl, TextImpl
- public class CharacterDataImpl
- extends StoredNode
- implements org.w3c.dom.CharacterData
| Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
| Methods inherited from class org.exist.dom.StoredNode |
deserialize, deserialize, equals, firstChildID, getBroker, getGID, getInternalAddress, getLastNode, getLastNode, getNextSibling, getNodeType, getOwnerDocument, getParentGID, getParentNode, getPath, getPreviousSibling, getQName, serialize, setGID, setInternalAddress, setOwnerDocument, toString |
| Methods inherited from class org.exist.dom.NodeImpl |
appendChild, appendChildren, cloneNode, compareDocumentPosition, getAttributes, getAttributesCount, getBaseURI, getChildCount, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeName, getPrefix, getTextContent, getUserData, hasAttributes, hasChildNodes, insertAfter, insertAfter, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeChild, replaceChild, replaceChild, setAttributes, setChildCount, setNodeName, setNodeValue, setPrefix, setTextContent, setUserData, supports, updateChild, updateChild |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
cdata
protected XMLString cdata
CharacterDataImpl
public CharacterDataImpl(short nodeType)
CharacterDataImpl
public CharacterDataImpl(short nodeType,
long gid)
CharacterDataImpl
public CharacterDataImpl(short nodeType,
long gid,
java.lang.String data)
CharacterDataImpl
public CharacterDataImpl(short nodeType,
java.lang.String data)
CharacterDataImpl
public CharacterDataImpl(short nodeType,
char[] data,
int start,
int howmany)
clear
public void clear()
- Description copied from class:
StoredNode
- Reset this object to its initial state. Required by the
parser to be able to reuse node objects.
- Overrides:
clear in class StoredNode
appendData
public void appendData(java.lang.String arg)
throws org.w3c.dom.DOMException
- Specified by:
appendData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
appendData
public void appendData(char[] data,
int start,
int howmany)
throws org.w3c.dom.DOMException
- Throws:
org.w3c.dom.DOMException
deleteData
public void deleteData(int offset,
int count)
throws org.w3c.dom.DOMException
- Specified by:
deleteData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
getData
public java.lang.String getData()
throws org.w3c.dom.DOMException
- Specified by:
getData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
getXMLString
public XMLString getXMLString()
getLowerCaseData
public java.lang.String getLowerCaseData()
throws org.w3c.dom.DOMException
- Throws:
org.w3c.dom.DOMException
getLength
public int getLength()
- Specified by:
getLength in interface org.w3c.dom.CharacterData
getNodeValue
public java.lang.String getNodeValue()
- Specified by:
getNodeValue in interface org.w3c.dom.Node- Overrides:
getNodeValue in class NodeImpl
- See Also:
Node.getNodeValue()
insertData
public void insertData(int offset,
java.lang.String arg)
throws org.w3c.dom.DOMException
- Specified by:
insertData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
replaceData
public void replaceData(int offset,
int count,
java.lang.String arg)
throws org.w3c.dom.DOMException
- Specified by:
replaceData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
setData
public void setData(java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
setData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
setData
public void setData(XMLString data)
throws org.w3c.dom.DOMException
- Throws:
org.w3c.dom.DOMException
setData
public void setData(char[] data,
int start,
int howmany)
throws org.w3c.dom.DOMException
- Throws:
org.w3c.dom.DOMException
substringData
public java.lang.String substringData(int offset,
int count)
throws org.w3c.dom.DOMException
- Specified by:
substringData in interface org.w3c.dom.CharacterData
- Throws:
org.w3c.dom.DOMException
toString
public java.lang.String toString()
- Overrides:
toString in class StoredNode
release
public void release()
- Release all resources hold by this object.
- Overrides:
release in class StoredNode
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.