QDomDocumentType(3qt)

NAME
QDomDocumentType - The representation of the DTD in the document tree

#include <qdom.h>

Inherits QDomNode.

  Public Members
QDomDocumentType ()
QDomDocumentType ( const QDomDocumentType & x )
QDomDocumentType& operator= ( const QDomDocumentType & )
~QDomDocumentType ()
virtual QString name () const
virtual QDomNamedNodeMap entities () const
virtual QDomNamedNodeMap notations () const
virtual QDomNode::NodeType nodeType () const
virtual bool isDocumentType () const

DESCRIPTION
The QDomDocumentType class is the representation of the DTD in the document tree.

The QDomDocumentType class allows readonly access to some of the data structures in the DTD: it can return a map of all entities() and notations().

In addition the function name() returns the name of the document type as specified in the <!DOCTYPE name> tag.

See also QDomDocument.

MEMBER FUNCTION DOCUMENTATION

QDomDocumentType::QDomDocumentType ()
Creates an empty QDomDocumentType object.

QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )
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.

QDomDocumentType::~QDomDocumentType ()
Destructor.

QDomNamedNodeMap QDomDocumentType::entities () const [virtual]
Returns a map of all entities described in the DTD.

bool QDomDocumentType::isDocumentType () const [virtual]
This function overloads QDomNode::isDocumentType().

See also nodeType() and QDomNode::toDocumentType().

Reimplemented from QDomNode.

QString QDomDocumentType::name () const [virtual]
Returns the name of the document type as specified in the <!DOCTYPE name> tag.

See also nodeName().

QDomNode::NodeType QDomDocumentType::nodeType() const [virtual]
Returns DocumentTypeNode.

See also isDocumentType() and QDomNode::toDocumentType().

Reimplemented from QDomNode.

QDomNamedNodeMap QDomDocumentType::notations () const [virtual]
Returns a map of all notations described in the DTD.

QDomDocumentType& QDomDocumentType::operator= ( const QDomDocumentType & n )
Assignement 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.

SEE ALSO
http://doc.trolltech.com/qdomdocumenttype.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 (qdomdocumenttype.3qt) and the Qt version (2.3.7).