Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions

TQDomDocumentType Class Reference
[XML module]

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

All the functions in this class are reentrant when TQt is built with thread support.

#include <tqdom.h>

Inherits TQDomNode.

List of all member functions.

Public Members


Detailed Description

The TQDomDocumentType class is the representation of the DTD in the document tree.

The TQDomDocumentType 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 TQDomDocument and XML.


Member Function Documentation

TQDomDocumentType::TQDomDocumentType ()

Creates an empty TQDomDocumentType object.

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

TQDomDocumentType::~TQDomDocumentType ()

Destroys the object and frees its resources.

TQDomNamedNodeMap TQDomDocumentType::entities () const [virtual]

Returns a map of all entities described in the DTD.

TQString TQDomDocumentType::internalSubset () const [virtual]

Returns the internal subset of the document type or TQString::null if there is no internal subset.

See also publicId() and systemId().

bool TQDomDocumentType::isDocumentType () const [virtual]

This function overloads TQDomNode::isDocumentType().

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

Reimplemented from TQDomNode.

TQString TQDomDocumentType::name () const [virtual]

Returns the name of the document type as specified in the <!DOCTYPE name> tag.

See also nodeName().

TQDomNode::NodeType TQDomDocumentType::nodeType () const [virtual]

Returns DocumentTypeNode.

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

Reimplemented from TQDomNode.

TQDomNamedNodeMap TQDomDocumentType::notations () const [virtual]

Returns a map of all notations described in the DTD.

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

TQString TQDomDocumentType::publicId () const [virtual]

Returns the public identifier of the external DTD subset or TQString::null if there is no public identifier.

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

TQString TQDomDocumentType::systemId () const [virtual]

Returns the system identifier of the external DTD subset or TQString::null if there is no system identifier.

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


This file is part of the TQt toolkit. Copyright © 1995-2007 Trolltech. All Rights Reserved.


Copyright © 2007 TrolltechTrademarks
TQt 3.3.8