Logo Search packages:      
Sourcecode: lib-dom-java version File versions  Download package

void org::w3c::dom::CharacterData::deleteData ( int  offset,
int  count 
) throws DOMException [inherited]

Remove a range of characters from the node. Upon success, data and length reflect the change.

offset The offset from which to remove characters.
count The number of characters to delete. If the sum of offset and count exceeds length then all characters from offset to the end of the data are deleted.
DOMException INDEX_SIZE_ERR: Raised if the specified offset is negative or greater than the number of characters in data, or if the specified count is negative.
NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.

Generated by  Doxygen 1.6.0   Back to index