QDomDocumentType(3qt)

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

SYNOPSIS
All the functions in this class are reentrant when Qt is built with thread support.</p>

#include <qdom.h>

Inherits QDomNode.

  Public Members
<li class=fn>QDomDocumentType () <li class=fn>QDomDocumentType ( const QDomDocumentType & n ) <li class=fn>QDomDocumentType & operator= ( const QDomDocumentType & n ) <li class=fn>~QDomDocumentType () <li class=fn>virtual QString name () const <li class=fn>virtual QDomNamedNodeMap entities () const <li class=fn>virtual QDomNamedNodeMap notations () const <li class=fn>virtual QString publicId () const <li class=fn>virtual QString systemId () const <li class=fn>virtual QString internalSubset () const <li class=fn>virtual QDomNode::NodeType nodeType () const <li class=fn>virtual bool isDocumentType () const

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

The QDomDocumentType class allows read-only 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. This class also provides the publicId(), systemId() and internalSubset() functions.

See also QDomDocument and XML.

MEMBER FUNCTION DOCUMENTATION

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

QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )
Constructs a copy of n.

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

QDomDocumentType::~QDomDocumentType ()
Destroys the object and frees its resources.

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

QString QDomDocumentType::internalSubset () const [virtual]
Returns the internal subset of the document type or QString::null if there is no internal subset.

See also publicId() and systemId().

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 )
Assigns n to this document type.

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

QString QDomDocumentType::publicId () const [virtual]
Returns the public identifier of the external DTD subset or QString::null if there is no public identifier.

See also systemId(), internalSubset(), and QDomImplementation::createDocumentType().

QString QDomDocumentType::systemId () const [virtual]
Returns the system identifier of the external DTD subset or QString::null if there is no system identifier.

See also publicId(), internalSubset(), and QDomImplementation::createDocumentType().

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 help us to help you. Thank you.

The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech.

If you find errors in 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 (3.3.3).