Home | All Classes | Grouped Classes | Index | Search

Class CL_DomCharacterData

DOM Character Data class. More...

Derived from: CL_DomNode
Derived by: CL_DomComment CL_DomText
Group: Core (XML)

#include <ClanLib/core.h>

Construction:

CL_DomCharacterData

Constructs a DOM CharacterData handle.

Attributes:

get_length

The number of characters that are available through data and the substringData method below.

Operations:

substring_data

Extracts a range of data from the node.

append_data

Append the string to the end of the character data of the node.

insert_data

Insert a string at the specified character offset.

delete_data

Remove a range of characters from the node.

replace_data

Replace the characters starting at the specified character offset with the specified string.

Implementation:

Detailed description:

!group=Core/XML! !header=core.h!

The 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.



Questions or comments, write to the
ClanLib mailing list.