dom_text.cpp
134 void CharacterData::replaceData( const unsigned long offset, const unsigned long count, const DOMString &arg )
The CharacterData interface extends Node with a set of attributes and methods for accessing character...
Definition: dom_text.h:50
void appendData(const DOMString &arg)
Append the string to the end of the character data of the node.
Definition: dom_text.cpp:101
void deleteData(const unsigned long offset, const unsigned long count)
Remove a range of characters from the node.
Definition: dom_text.cpp:123
DOMString substringData(const unsigned long offset, const unsigned long count)
Extracts a range of data from the node.
Definition: dom_text.cpp:89
void replaceData(const unsigned long offset, const unsigned long count, const DOMString &arg)
Replace the characters starting at the specified character offset with the specified string.
Definition: dom_text.cpp:134
DOMString data() const
The character data of the node that implements this interface.
Definition: dom_text.cpp:64
void insertData(const unsigned long offset, const DOMString &arg)
Insert a string at the specified character offset.
Definition: dom_text.cpp:112
unsigned long length() const
The number of characters that are available through data and the substringData method below.
Definition: dom_text.cpp:82
This represents the content of a comment, i.e., all the characters between the starting ' <!...
Definition: dom_text.h:224
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:275
The Text interface represents the textual content (termed character data in XML) of an Element or At...
Definition: dom_text.h:270
Text splitText(const unsigned long offset)
Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblin...
Definition: dom_text.cpp:223
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:57