HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

QDomDocumentType Class Reference
[ XML module ]


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

#include <qdom.h>

Inherits QDomNode.

List of all member functions.

Public Members


Detailed Description

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

QDomDocumentType allows readonly access to some of the DTDs data structures. It can returns a map of all entities() and notation().

In addition the method name() returns the document types name as given by the tag.

See also: QDomDocument.


Member Function Documentation

QDomDocumentType::QDomDocumentType ()

creates an empty QDomDocumentType object.

QDomDocumentType::QDomDocumentType ( const QDomDocumentType & n )

Copy constructor.

QDomDocumentType::~QDomDocumentType ()

Destructor.

QDomNamedNodeMap QDomDocumentType::entities () const [virtual]

Returns a map of all entities described in the DTD.

bool QDomDocumentType::isDocumentType () const [virtual]

This method overloads QDomNode::isDocumentType().

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

Reimplemented from QDomNode.

QString QDomDocumentType::name () const [virtual]

Returns the document types name like specified by the tag.

The method nodeName() returns the same value.

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

Returns QDomNode::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.


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