public class XDBCharData extends XDBNode implements CharacterData
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
Modifier and Type | Method and Description |
---|---|
void |
appendData(java.lang.String appstring)
Deprecated.
append the specified string to the char data
|
void |
deleteData(int offset, int count)
Deprecated.
delete the specified substring string from the char data
|
java.lang.String |
getData()
Deprecated.
Returns the char data
|
int |
getLength()
Deprecated.
gets the length of the char data
|
void |
insertData(int offset, java.lang.String appstring)
Deprecated.
insert the specified string into the char data
|
void |
replaceData(int offset, int count, java.lang.String repdata)
Deprecated.
replace the specified substring string in the char data
|
void |
setData(java.lang.String data)
Deprecated.
sets the char data
|
java.lang.String |
substringData(int offset, int count)
Deprecated.
gets the specified substring of the char data
|
appendChild, cloneNode, close, compareDocumentPosition, equals, finalize, getAttributes, getBaseURI, getChildNodes, getExpandedName, getFeature, getFirstChild, getInputStream, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getPrimitiveType, getQualifiedName, getSchemaNode, getTextContent, getUserData, hasAttributes, hasChildNodes, hashCode, insertBefore, isDefaultNamespace, isEqualNode, isNilled, isSameNode, isSchemaBased, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setNodeXob, setOwner, setPrefix, setTextContent, setUserData, setXobCstate, toCState, toString, write, writeToOutputStream
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
public java.lang.String getData() throws DOMException
getData
in interface CharacterData
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.public void setData(java.lang.String data) throws DOMException
setData
in interface CharacterData
DOMException
public int getLength() throws DOMException
getLength
in interface CharacterData
DOMException
public java.lang.String substringData(int offset, int count) throws DOMException
substringData
in interface CharacterData
DOMException
- INDEX_SIZE_ERR: Raised if the specified offset
is negative or greater than the number of 16-bit units in data
, or if the specified count
is negative.DOMString
.public void appendData(java.lang.String appstring) throws DOMException
appendData
in interface CharacterData
DOMException
- NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.public void insertData(int offset, java.lang.String appstring) throws DOMException
insertData
in interface CharacterData
DOMException
- INDEX_SIZE_ERR: Raised if the specified offset
is negative or greater than the number of 16-bit units in data
.public void deleteData(int offset, int count) throws DOMException
deleteData
in interface CharacterData
DOMException
- INDEX_SIZE_ERR: Raised if the specified offset
is negative or greater than the number of 16-bit units in data
, or if the specified count
is negative.public void replaceData(int offset, int count, java.lang.String repdata) throws DOMException
replaceData
in interface CharacterData
DOMException
- INDEX_SIZE_ERR: Raised if the specified offset
is negative or greater than the number of 16-bit units in data
, or if the specified count
is negative.