HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QDomCDATASection Class Reference
[ XML module ]


The QDomCDATASection class represents XML CDATA. More...

#include <qdom.h>

Inherits QDomText.

List of all member functions.

Public Members


Detailed Description

The QDomCDATASection class represents XML CDATA.

CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup. The only delimiter that is recognized in a CDATA section is the "]]>" string that ends the CDATA section. CDATA sections can not be nested. The primary purpose is for including material such as XML fragments, without needing to escape all the delimiters.

The CDATASection interface inherits the CharacterData interface through the Text interface. Adjacent CDATASections nodes are not merged by use of the Element.normalize() method.

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

QDomCDATASection::QDomCDATASection ()

constructs an null CDATA object. To create a non null object use the QDomDocument::createCDATASection() method.

QDomCDATASection::QDomCDATASection ( const QDomCDATASection & x )

Copy constructor.

QDomCDATASection::~QDomCDATASection ()

Destructor.

bool QDomCDATASection::isCDATASection () const [virtual]

Returns TRUE.

Reimplemented from QDomNode.

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

Returns CDATASection.

Reimplemented from QDomNode.

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

assigment operator.


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