#include <CharacterData.h>
Inheritance diagram for org::w3c::dom::CharacterData:
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 offsets
in this interface start from 0
.
As explained in the DOMString
interface, text strings in the DOM are represented in UTF-16, i.e. as a sequence of 16-bit units. In the following, the term 16-bit units is used whenever necessary to indicate that indexing on CharacterData is done in 16-bit units.
See also the Document acdk::lang::Object Model (DOM) Level 3 Core Specification.
API: org.w3c.dom<br>
Public Member Functions | |
virtual RString | getData ()=0 throw ( RDOMException ) |
The character data of the node that implements this interface. | |
virtual void | setData (IN(RString) s)=0 throw ( RDOMException ) |
The character data of the node that implements this interface. | |
virtual int | getLength ()=0 |
The number of 16-bit units that are available through data and the substringData method below. | |
virtual RString | subStringData (int i, int j)=0 throw ( RDOMException ) |
Extracts a range of data from the node. | |
virtual void | appendData (IN(RString) s)=0 throw ( RDOMException ) |
Append the string to the end of the character data of the node. | |
virtual void | insertData (int i, IN(RString) s)=0 throw ( RDOMException ) |
Insert a string at the specified 16-bit unit offset. | |
virtual void | deleteData (int i, int j)=0 throw ( RDOMException ) |
Remove a range of 16-bit units from the node. | |
virtual void | replaceData (int i, int j, IN(RString) s)=0 throw ( RDOMException ) |
Replace the characters starting at the specified 16-bit unit offset with the specified string. |
|
Append the string to the end of the character data of the node.
Upon success,
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
Remove a range of 16-bit units from the node.
Upon success,
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
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
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
The number of 16-bit units that are available through
This may have the value zero, i.e., Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
Insert a string at the specified 16-bit unit offset.
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
Replace the characters starting at the specified 16-bit unit offset with the specified string.
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
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
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |
|
Extracts a range of data from the node.
Implemented in acdk::xml::dom::XMLCharacterData, and acdk::xml::libxmldom::LibXMLCharacterData. |