QDomCDATASection Class Reference
[ XML module ]
The QDomCDATASection class represents an XML CDATA section.
More...
#include <qdom.h>
Inherits QDomText.
List of all member functions.
Public Members
-
-
QDomCDATASection&Â
operator= ( const QDomCDATASection & )Â
-
virtual QDomNode::NodeTypeÂ
nodeType () const
-
Detailed Description
The QDomCDATASection class represents an XML CDATA section.
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.
Adjacent QDomCDATASection nodes are not merged by the
QDomElement.normalize() function.
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
QDomCDATASection::QDomCDATASection ()
Constructs an empty CDATA section. To create a CDATA section with content,
use the QDomDocument::createCDATASection() function.
QDomCDATASection::QDomCDATASection ( const QDomCDATASection & 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.
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.
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.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit,
copyright © 1995-2005
Trolltech, all rights reserved.