Viadeo Twitter Google Bookmarks ! Facebook Digg del.icio.us MySpace Yahoo MyWeb Blinklist Netvouz Reddit Simpy StumbleUpon Bookmarks Windows Live Favorites 
Logo Documentation Qt ·  Page d'accueil  ·  Toutes les classes  ·  Classes principales  ·  Annotées  ·  Classes groupées  ·  Fonctions  · 

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.

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().


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

Cette page est une traduction d'une page de la documentation de Qt, écrite par Nokia Corporation and/or its subsidiary(-ies). Les éventuels problèmes résultant d'une mauvaise traduction ne sont pas imputables à Nokia. Qt 3.0
Copyright © 2012 Developpez LLC. Tous droits réservés Developpez LLC. Aucune reproduction, même partielle, ne peut être faite de ce site et de l'ensemble de son contenu : textes, documents et images sans l'autorisation expresse de Developpez LLC. Sinon, vous encourez selon la loi jusqu'à 3 ans de prison et jusqu'à 300 000 E de dommages et intérêts. Cette page est déposée à la SACD.
Vous avez déniché une erreur ? Un bug ? Une redirection cassée ? Ou tout autre problème, quel qu'il soit ? Ou bien vous désirez participer à ce projet de traduction ? N'hésitez pas à nous contacter ou par MP !
 
 
 
 
Partenaires

Hébergement Web