QDomImplementation(3qt)

NAME
QDomImplementation - Information about the features of the DOM implementation

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

#include <ntqdom.h>

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

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

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.

See also hasFeature() and XML.

MEMBER FUNCTION DOCUMENTATION

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.

QDomDocument QDomImplementation::createDocument ( const TQString & nsURI, const TQString & 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.

QDomDocumentType QDomImplementation::createDocumentType ( const TQString & qName, const TQString & publicId, const TQString & systemId ) [virtual]
Creates a document type node for the name qName.

publicId specifies the public identifier of the external subset. If you specify TQString::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 TQString::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 TQString::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.

See also createDocument().

bool QDomImplementation::hasFeature ( const TQString & feature, const TQString & 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: <center>.nf
</center>

bool QDomImplementation::isNull ()
Returns false if the object was created by QDomDocument::implementation(); otherwise returns true.

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 & 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.

SEE ALSO
http://doc.trolltech.com/qdomimplementation.html http://www.trolltech.com/faq/tech.html

COPYRIGHT
Copyright 1992-2007 Trolltech ASA, 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 TQt documentation is provided in HTML format; it is located at $TQTDIR/doc/html and can be read using TQt 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 (tqdomimplementation.3qt) and the Qt version (3.3.8).