HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QDomText Class Reference
[ XML module ]


The QDomText class represent textual data in the parsed XML. More...

#include <qdom.h>

Inherits QDomCharacterData.

Inherited by QDomCDATASection.

List of all member functions.

Public Members


Detailed Description

The QDomText class represent textual data in the parsed XML.

The QDomText class represents text in the 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 into the internals of the DOM implementation see the QDomDocument documentation.


Member Function Documentation

QDomText::QDomText ()

constructs a null QDomText object.

To construct a non null QDomText use QDomDocument::createTextNode().

QDomText::QDomText ( const QDomText & x )

Copy constructor.

QDomText::~QDomText ()

Destructor.

bool QDomText::isText () const [virtual]

Returns TRUE.

Reimplemented from QDomNode.

QDomNode::NodeType QDomText::nodeType() const [virtual]

Returns QDomNode::TextNode.

See also: QDomNode::nodeType().

Reimplemented from QDomNode.

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

assignment operator.

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 and returned.

See also: QDomElement::normalize().


Search the documentation, FAQ, qt-interest archive and more (uses www.trolltech.com):


This file is part of the Qt toolkit, copyright © 1995-2000 Trolltech, all rights reserved.


Copyright © 2000 TrolltechTrademarks
Qt version 2.2.0-beta2