⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qdomimplementation.3qt

📁 linux下GUI编程工具qt的在线连接帮助手册
💻 3QT
字号:
'\" t.TH QDomImplementation 3qt "11 October 2001" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2001 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQDomImplementation \- Information about the features of the DOM implementation.PP\fC#include <qdom.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fBQDomImplementation\fR ()".br.ti -1c.BI "\fBQDomImplementation\fR ( const QDomImplementation & x )".br.ti -1c.BI "virtual \fB~QDomImplementation\fR ()".br.ti -1c.BI "QDomImplementation & \fBoperator=\fR ( const QDomImplementation & x )".br.ti -1c.BI "bool \fBoperator==\fR ( const QDomImplementation & x ) const".br.ti -1c.BI "bool \fBoperator!=\fR ( const QDomImplementation & x ) const".br.ti -1c.BI "virtual bool \fBhasFeature\fR ( const QString & feature, const QString & version )".br.ti -1c.BI "virtual QDomDocumentType \fBcreateDocumentType\fR ( const QString & qName, const QString & publicId, const QString & systemId )".br.ti -1c.BI "virtual QDomDocument \fBcreateDocument\fR ( const QString & nsURI, const QString & qName, const QDomDocumentType & doctype )".br.ti -1c.BI "bool \fBisNull\fR ()".br.in -1c.SH DESCRIPTIONThe QDomImplementation class provides information about the features of the DOM implementation..PPThis class describes the features that are supported by the DOM implementation. Currently only the XML subset of DOM Level 1 and DOM Level 2 Core are supported..PPNormally you will use the function QDomDocument::implementation() to get the implementation object..PPYou can create a new document type with createDocumentType() and a new document with createDocument()..PPFor 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..PPSee also hasFeature() and XML..SH MEMBER FUNCTION DOCUMENTATION.SH "QDomImplementation::QDomImplementation ()"Constructs a QDomImplementation object..SH "QDomImplementation::QDomImplementation ( const QDomImplementation & x )"Constructs a copy of \fIx\fR..SH "QDomImplementation::~QDomImplementation ()\fC [virtual]\fR"Destroys the object and frees its resources..SH "QDomDocument QDomImplementation::createDocument ( const QString & nsURI, const QString & qName, const QDomDocumentType & doctype )\fC [virtual]\fR"Creates a DOM document with the document type \fIdoctype\fR. This function also adds a root element node with the qualified name \fIqName\fR and the namespace URI \fInsURI\fR..SH "QDomDocumentType QDomImplementation::createDocumentType ( const QString & qName, const QString & publicId, const QString & systemId )\fC [virtual]\fR"Creates a document type node for the name \fIqName\fR..PP\fIpublicId\fR specifies the public identifier of the external subset; If you specify QString::null as the \fIpublicId\fR, this means that the document type has no public identifier..PPSimilarly, you specify the system identifier of the external subset with \fIsystemId\fR. If you specify QString::null as the \fIsystemId\fR, 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..PPOther features of a document type declaration are not supported by DOM level 2..PPThe 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..PPSee also createDocument()..SH "bool QDomImplementation::hasFeature ( const QString & feature, const QString & version )\fC [virtual]\fR"The function returns TRUE if QDom implements the requested \fIversion\fR of a \fIfeature\fR..PPCurrently only the feature "XML" in version "1.0" is supported..SH "bool QDomImplementation::isNull ()"Returns FALSE if the object was created by QDomDocument::implementation(); otherwise returns TRUE..SH "bool QDomImplementation::operator!= ( const QDomImplementation & x ) const"Returns TRUE if \fIx\fR and this DOM implementation object were created from different QDomDocuments..SH "QDomImplementation & QDomImplementation::operator= ( const QDomImplementation & x )"Assigns \fIx\fR to this DOM implementation..SH "bool QDomImplementation::operator== ( const QDomImplementation & x ) const"Returns TRUE if \fIx\fR and this DOM implementation object were created from thesame QDomDocument..SH "SEE ALSO".BR http://doc.trolltech.com/qdomimplementation.html.BR http://www.trolltech.com/faq/tech.html.SH COPYRIGHTCopyright 1992-2001 Trolltech AS, http://www.trolltech.com.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code..SH BUGSIf you find a bug in Qt, please report it as described in.BR http://doc.trolltech.com/bughowto.html .Good bug reports help us to help you. Thank you..PThe definitive Qt documentation is provided in HTML format; it islocated at $QTDIR/doc/html and can be read using Qt Assistant or witha web browser. This man page is provided as a convenience for thoseusers who prefer man pages, although this format is not officiallysupported by Trolltech. .PIf you find errors in this manual page, please report them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qdomimplementation.3qt) and the Qtversion (3.0.0).

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -