DOM::CharacterData Class Reference
TheCharacterData
interface extends Node with a set of attributes and methods for accessing character data in the DOM.
More...
#include <dom_text.h>
Inheritance diagram for DOM::CharacterData:

Public Member Functions | |
CharacterData (const CharacterData &other) | |
CharacterData (const Node &other) | |
CharacterData & | operator= (const Node &other) |
CharacterData & | operator= (const CharacterData &other) |
DOMString | data () const |
void | setData (const DOMString &) |
unsigned long | length () const |
DOMString | substringData (const unsigned long offset, const unsigned long count) |
void | appendData (const DOMString &arg) |
void | insertData (const unsigned long offset, const DOMString &arg) |
void | deleteData (const unsigned long offset, const unsigned long count) |
void | replaceData (const unsigned long offset, const unsigned long count, const DOMString &arg) |
Protected Member Functions | |
CharacterData (CharacterDataImpl *i) |
Detailed Description
TheCharacterData
interface extends Node with a set of attributes and methods for accessing character data in the DOM.
For clarity this set is defined here rather than on each object that uses these attributes and 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.
Definition at line 49 of file dom_text.h.
Member Function Documentation
|
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
Definition at line 64 of file dom_text.cpp. |
|
see data
Definition at line 70 of file dom_text.cpp. |
|
The number of characters that are available through
This may have the value zero, i.e., Definition at line 82 of file dom_text.cpp. |
|
Extracts a range of data from the node.
DOMString .
Definition at line 89 of file dom_text.cpp. |
|
Append the string to the end of the character data of the node.
Upon success,
Definition at line 101 of file dom_text.cpp. |
|
Insert a string at the specified character offset.
Definition at line 112 of file dom_text.cpp. |
|
Remove a range of characters from the node.
Upon success,
Definition at line 123 of file dom_text.cpp. |
|
Replace the characters starting at the specified character offset with the specified string.
Definition at line 134 of file dom_text.cpp. |
The documentation for this class was generated from the following files: