Inheritance diagram for IDOM_CharacterData:
Public Methods | |
Destructor. | |
virtual | ~IDOM_CharacterData () |
Getter functions. | |
virtual const XMLCh * | getData () const=0 |
virtual unsigned int | getLength () const=0 |
virtual const XMLCh * | substringData (unsigned int offset, unsigned int count) const=0 |
Functions that set or change data. | |
virtual void | appendData (const XMLCh *arg)=0 |
virtual void | insertData (unsigned int offset, const XMLCh *arg)=0 |
virtual void | deleteData (unsigned int offset, unsigned int count)=0 |
virtual void | replaceData (unsigned int offset, unsigned int count, const XMLCh *arg)=0 |
virtual void | setData (const XMLCh *data)=0 |
Protected Methods | |
IDOM_CharacterData (const IDOM_CharacterData &other) | |
IDOM_CharacterData & | operator= (const IDOM_CharacterData &other) |
IDOM_CharacterData
interface extends Node with a set of methods for accessing character data in the DOM.
For clarity this set is defined here rather than on each class that uses these methods. No DOM objects correspond directly to CharacterData
, though Text
and others do inherit the interface from it. All offset
s in this interface start from 0, and index in terms of Unicode 16 bit storage units.
|
Destructor for IDOM_CharacterData. The object being destroyed is the reference to the Character Data node, not the character data itself. |
|
Append the string to the end of the character data of the node.
Upon success,
|
|
Remove a range of characters from the node.
Upon success,
|
|
Returns the character data of the node that implements this interface.
The DOM implementation may not put arbitrary limits on the amount of data that may be stored in a
|
|
Returns the number of characters that are available through
This may have the value zero, i.e., |
|
Insert a string at the specified character offset.
|
|
Replace the characters starting at the specified character offset with the specified string.
|
|
Sets the character data of the node that implements this interface.
|
|
Extracts a range of data from the node.
|