KHTML
dom_text.cpp
Go to the documentation of this file.
135 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:270
CharacterData & operator=(const Node &other)
Definition: dom_text.cpp:38
unsigned long length() const
The number of characters that are available through data and the substringData method below...
Definition: dom_text.cpp:83
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:135
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
DOMString substringData(const unsigned long offset, const unsigned long count)
Extracts a range of data from the node.
Definition: dom_text.cpp:90
Definition: dom_node.h:385
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:102
void deleteData(const unsigned long offset, const unsigned long count)
Remove a range of characters from the node.
Definition: dom_text.cpp:124
DOMString data() const
The character data of the node that implements this interface.
Definition: dom_text.cpp:65
void setData(const DOMString &)
see data NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
Definition: dom_text.cpp:71
void insertData(const unsigned long offset, const DOMString &arg)
Insert a string at the specified character offset.
Definition: dom_text.cpp:113
Definition: dom_node.h:384
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:224
Definition: dom_node.h:389
The CharacterData interface extends Node with a set of attributes and methods for accessing character...
Definition: dom_text.h:49
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.