dom_text.cpp
134 void CharacterData::replaceData( const unsigned long offset, const unsigned long count, const DOMString &arg )
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:274
unsigned long length() const
The number of characters that are available through data and the substringData method below...
Definition: dom_text.cpp:82
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
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:57
DOMString substringData(const unsigned long offset, const unsigned long count)
Extracts a range of data from the node.
Definition: dom_text.cpp:89
This represents the content of a comment, i.e., all the characters between the starting '
Definition: dom_text.h:223
The Text interface represents the textual content (termed character data in XML) of an Element or At...
Definition: dom_text.h:269
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 data() const
The character data of the node that implements this interface.
Definition: dom_text.cpp:64
void setData(const DOMString &)
see data NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
Definition: dom_text.cpp:70
The Document Object Model (DOM) is divided into two parts, the COREDOM core DOM, specifying some core...
Definition: design.h:56
void insertData(const unsigned long offset, const DOMString &arg)
Insert a string at the specified character offset.
Definition: dom_text.cpp:112
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 CharacterData interface extends Node with a set of attributes and methods for accessing character...
Definition: dom_text.h:49