The QDomCharacterData class represents a generic string in the DOM.
.PP
Character data as used in XML specifies a generic data string. More specialized versions of this class are QDomText, QDomComment and QDomCDATASection.
.PP
The data string is set with setData() and retrieved with data(). You can retrieve a portion of the data string using substringData(). Extra data can be appended with appendData(), or inserted with insertData(). Portions of the data string can be deleted with deleteData() or replaced with replaceData(). The length of the data string is returned by length().
.PP
The node type of the node containing this character data is returned by nodeType().
.PP
See also QDomText, QDomComment, QDomCDATASection, and XML.
.SH MEMBER FUNCTION DOCUMENTATION
.SH "QDomCharacterData::QDomCharacterData ()"
Constructs an empty character data object.
.SH "QDomCharacterData::QDomCharacterData ( const QDomCharacterData & x )"
Constructs a copy of \fIx\fR.
.PP
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().
Returns the type of node this object refers to (i.e. TextNode, CDATASectionNode, CommentNode or CharacterDataNode). For a null node CharacterDataNode is returned.
.PP
Reimplemented from QDomNode.
.PP
Reimplemented in QDomText and QDomComment.
.SH "QDomCharacterData & QDomCharacterData::operator= ( const QDomCharacterData & x )"
Assigns \fIx\fR to this character data.
.PP
The data of the copy is shared (shallow copy): modifying one node will also change the other. If you want to make a deep copy, use cloneNode().