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

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

Extracts a range of data from the node.

Parameters:
offset Start offset of substring to extract.
count The number of characters to extract.
Returns:
The specified substring. If the sum of offset and count exceeds the length, then all characters to the end of the data are returned.
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.
DOMSTRING_SIZE_ERR: Raised if the specified range of text does not fit into a DOMString.


Generated by  Doxygen 1.6.0   Back to index