Eneboo - Documentación para desarrolladores
Métodos públicos | Amigas
Referencia de la Clase QDomImplementation

The QDomImplementation class provides information about the features of the DOM implementation.XMLThis class describes the features that are supported by the DOM implementation. Currently the XML subset of DOM Level 1 and DOM Level 2 Core are supported. Más...

#include <qdom.h>

Lista de todos los miembros.

Métodos públicos

 QDomImplementation ()
 QDomImplementation (const QDomImplementation &)
virtual ~QDomImplementation ()
QDomImplementationoperator= (const QDomImplementation &)
bool operator== (const QDomImplementation &) const
bool operator!= (const QDomImplementation &) const
virtual bool hasFeature (const QString &feature, const QString &version)
virtual QDomDocumentType createDocumentType (const QString &qName, const QString &publicId, const QString &systemId)
virtual QDomDocument createDocument (const QString &nsURI, const QString &qName, const QDomDocumentType &doctype)
bool isNull ()
 QDomImplementation ()
 QDomImplementation (const QDomImplementation &)
virtual ~QDomImplementation ()
QDomImplementationoperator= (const QDomImplementation &)
bool operator== (const QDomImplementation &) const
bool operator!= (const QDomImplementation &) const
virtual bool hasFeature (const QString &feature, const QString &version)
virtual QDomDocumentType createDocumentType (const QString &qName, const QString &publicId, const QString &systemId)
virtual QDomDocument createDocument (const QString &nsURI, const QString &qName, const QDomDocumentType &doctype)
bool isNull ()

Amigas

class QDomDocument

Descripción detallada

The QDomImplementation class provides information about the features of the DOM implementation.

XML

This class describes the features that are supported by the DOM implementation. Currently the XML subset of DOM Level 1 and DOM Level 2 Core are supported.

Normally you will use the function QDomDocument::implementation() to get the implementation object.

You can create a new document type with createDocumentType() and a new document with createDocument().

For further information about the Document Object Model see http://www.w3.org/TR/REC-DOM-Level-1/ and http://www.w3.org/TR/DOM-Level-2-Core/. For a more general introduction of the DOM implementation see the QDomDocument documentation.

Ver también:
hasFeature()

Documentación del constructor y destructor

QDomImplementation::QDomImplementation ( )

Constructs a QDomImplementation object.

QDomImplementation::QDomImplementation ( const QDomImplementation x)

Constructs a copy of x.

QDomImplementation::~QDomImplementation ( ) [virtual]

Destroys the object and frees its resources.

QDomImplementation::QDomImplementation ( )
QDomImplementation::QDomImplementation ( const QDomImplementation )
virtual QDomImplementation::~QDomImplementation ( ) [virtual]

Documentación de las funciones miembro

QDomDocument QDomImplementation::createDocument ( const QString nsURI,
const QString qName,
const QDomDocumentType doctype 
) [virtual]

Creates a DOM document with the document type doctype. This function also adds a root element node with the qualified name qName and the namespace URI nsURI.

virtual QDomDocument QDomImplementation::createDocument ( const QString nsURI,
const QString qName,
const QDomDocumentType doctype 
) [virtual]
QDomDocumentType QDomImplementation::createDocumentType ( const QString qName,
const QString publicId,
const QString systemId 
) [virtual]

Creates a document type node for the name qName.

publicId specifies the public identifier of the external subset. If you specify QString::null as the publicId, this means that the document type has no public identifier.

systemId specifies the system identifier of the external subset. If you specify QString::null as the systemId, this means that the document type has no system identifier.

Since you cannot have a public identifier without a system identifier, the public identifier is set to QString::null if there is no system identifier.

DOM level 2 does not support any other document type declaration features.

The only way you can use a document type that was created this way, is in combination with the createDocument() function to create a QDomDocument with this document type.

Ver también:
createDocument();
virtual QDomDocumentType QDomImplementation::createDocumentType ( const QString qName,
const QString publicId,
const QString systemId 
) [virtual]
bool QDomImplementation::hasFeature ( const QString feature,
const QString version 
) [virtual]

The function returns TRUE if QDom implements the requested version of a feature; otherwise returns FALSE.

The currently supported features and their versions: Feature Version XML 1.0

virtual bool QDomImplementation::hasFeature ( const QString feature,
const QString version 
) [virtual]
bool QDomImplementation::isNull ( )
bool QDomImplementation::isNull ( )

Returns FALSE if the object was created by QDomDocument::implementation(); otherwise returns TRUE.

bool QDomImplementation::operator!= ( const QDomImplementation ) const
bool QDomImplementation::operator!= ( const QDomImplementation x) const

Returns TRUE if x and this DOM implementation object were created from different QDomDocuments; otherwise returns FALSE.

QDomImplementation& QDomImplementation::operator= ( const QDomImplementation )
QDomImplementation & QDomImplementation::operator= ( const QDomImplementation x)

Assigns x to this DOM implementation.

bool QDomImplementation::operator== ( const QDomImplementation x) const

Returns TRUE if x and this DOM implementation object were created from the same QDomDocument; otherwise returns FALSE.

bool QDomImplementation::operator== ( const QDomImplementation ) const

Documentación de las funciones relacionadas y clases amigas

QDomDocument [friend]

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'