CharacterData
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 Methods | |
CharacterData () | |
CharacterData (const CharacterData &other) | |
CharacterData (const Node &other) | |
CharacterData & | operator= (const Node &other) |
CharacterData & | operator= (const CharacterData &other) |
~CharacterData () | |
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 Methods | |
CharacterData (CharacterDataImpl *i) | |
Friends | |
class | CharacterDataImpl |
CharacterData
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.
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from DOM::Node. Reimplemented in DOM::Comment, DOM::Text, and DOM::CDATASection. |
|
|
|
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
|
|
see data
|
|
The number of characters that are available through
This may have the value zero, i.e., |
|
Extracts a range of data from the node.
DOMString . |
|
Append the string to the end of the character data of the node.
Upon success,
|
|
Insert a string at the specified character offset.
|
|
Remove a range of characters from the node.
Upon success,
|
|
Replace the characters starting at the specified character offset with the specified string.
|
|
|