QDomText(3qt)

NAME
QDomText - Represents textual data in the parsed XML document

#include <qdom.h>

Inherits QDomCharacterData.

Inherited by QDomCDATASection.

  Public Members
QDomText ()
QDomText ( const QDomText & x )
QDomText& operator= ( const QDomText & )
~QDomText ()
QDomText splitText ( int offset )
virtual QDomNode::NodeType nodeType () const
virtual bool isText () const

DESCRIPTION
The QDomText class represents textual data in the parsed XML document.

For further information about the Document Objct Model see http://www.w3.org/TR/REC-DOM-Level-1/. For a more general introduction of the DOM implementation see the QDomDocument documentation.

MEMBER FUNCTION DOCUMENTATION

QDomText::QDomText ()
Constructs an empty QDomText object.

To construct a QDomText with content, use QDomDocument::createTextNode().

QDomText::QDomText ( const QDomText & x )
Copy constructor.

The data of the copy is shared: modifying one will also change the other. If you want to make a real copy, use cloneNode() instead.

QDomText::~QDomText ()
Destructor.

bool QDomText::isText () const [virtual]
Returns TRUE.

Reimplemented from QDomNode.

QDomNode::NodeType QDomText::nodeType() const [virtual]
Returns TextNode.

Reimplemented from QDomNode.

QDomText& QDomText::operator= ( const QDomText & x )
Assignment operator.

The data of the copy is shared: modifying one will also change the other. If you want to make a real copy, use cloneNode() instead.

QDomText QDomText::splitText ( int offset )
Splits this object at position offset into two QDomText objects. The newly created object is inserted into the document tree after this object.

The function returns the newly created object.

See also QDomElement::normalize().

SEE ALSO
http://doc.trolltech.com/qdomtext.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2001 Trolltech AS, http://www.trolltech.com. See the license file included in the distribution for a complete license statement.

AUTHOR
Generated automatically from the source code.

BUGS
If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports make our job much simpler. Thank you.

In case of content or formattting problems with this manual page, please report them to qt-bugs@trolltech.com. Please include the name of the manual page (qdomtext.3qt) and the Qt version (2.3.0).