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

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

Replace the characters starting at the specified character offset with the specified string.

Parameters:
offset The offset from which to start replacing.
count The number of characters to replace. If the sum of offset and count exceeds length , then all characters to the end of the data are replaced (i.e., the effect is the same as a remove method call with the same range, followed by an append method invocation).
arg The DOMString with which the range must be replaced.
Exceptions:
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