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

📄 qxmlsimplereader.3qt

📁 Linux 下的图形编程环境。
💻 3QT
字号:
'\" t.TH QXmlSimpleReader 3qt "5 March 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 NAMEQXmlSimpleReader \- Implementation of a simple XML reader (i.e. parser).br.PP\fC#include <qxml.h>\fR.PPInherits QXmlReader..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQXmlSimpleReader\fR () ".br.ti -1c.BI "virtual \fB~QXmlSimpleReader\fR () ".br.ti -1c.BI "virtual bool \fBfeature\fR ( const QString & " "name" ", bool * " "ok" " = 0 ) const".br.ti -1c.BI "virtual void \fBsetFeature\fR ( const QString & " "name" ", bool value ) ".br.ti -1c.BI "virtual bool \fBhasFeature\fR ( const QString & name ) const".br.ti -1c.BI "virtual void* \fBproperty\fR ( const QString & " "name" ", bool * " "ok" " = 0 ) const".br.ti -1c.BI "virtual void \fBsetProperty\fR ( const QString & " "name" ", void * value ) ".br.ti -1c.BI "virtual bool \fBhasProperty\fR ( const QString & name ) const".br.in -1c.SH DESCRIPTIONThe QXmlSimpleReader class provides an implementation of a simple XML reader (i.e. parser)..PPThis XML reader is sufficient for simple parsing tasks. Here is a short list of the properties of this reader:.TPwell-formed parser.TPdoes not parse any external entities.TPcan do namespace processing.PPFor getting started see also the Quick start.PPExamples:.(lxml/tagreader/tagreader.cpp xml/tagreader.)l-with-features/tagreader.cpp.SH MEMBER FUNCTION DOCUMENTATION.SH "QXmlDTDHandler* QXmlSimpleReader::DTDHandler () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "QXmlSimpleReader::QXmlSimpleReader ()"Constructs a simple XML reader..SH "QXmlSimpleReader::~QXmlSimpleReader () \fC[virtual]\fR"Destroys a simple XML reader..SH "QXmlContentHandler* QXmlSimpleReader::contentHandler () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "QXmlDeclHandler* QXmlSimpleReader::declHandler () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "QXmlEntityResolver* QXmlSimpleReader::entityResolver () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "QXmlErrorHandler* QXmlSimpleReader::errorHandler () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "bool QXmlSimpleReader::feature ( const QString & name, bool * ok = 0 ) const \fC[virtual]\fR"Gets the state of a feature..PPSee also setFeature() and hasFeature()..PPReimplemented from QXmlReader..SH "bool QXmlSimpleReader::hasFeature ( const QString & name ) const \fC[virtual]\fR"Returns TRUE if the class has a feature named \fIfeature,\fR otherwise FALSE..PPSee also setFeature() and feature()..PPReimplemented from QXmlReader..SH "bool QXmlSimpleReader::hasProperty ( const QString & ) const \fC[virtual]\fR"Returns FALSE since this class does not support any properties..PPReimplemented from QXmlReader..SH "QXmlLexicalHandler* QXmlSimpleReader::lexicalHandler () const \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "bool QXmlSimpleReader::parse ( const QXmlInputSource & input ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPExamples:.(lxml/tagreader/tagreader.cpp xml/tagreader.)l-with-features/tagreader.cpp.PPReimplemented from QXmlReader..SH "void* QXmlSimpleReader::property ( const QString &, bool * ok = 0 ) const \fC[virtual]\fR"Returns 0 since this class does not support any properties..PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setContentHandler ( QXmlContentHandler * handler ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPExamples:.(lxml/tagreader/tagreader.cpp xml/tagreader.)l-with-features/tagreader.cpp.PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setDTDHandler ( QXmlDTDHandler * handler ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setDeclHandler ( QXmlDeclHandler * handler ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setEntityResolver ( QXmlEntityResolver * handler ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setErrorHandler ( QXmlErrorHandler * handler ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setFeature ( const QString & name, bool value ) \fC[virtual]\fR"Sets the state of a feature..PPSupported features are:.TPhttp://xml.org/sax/features/namespaces: if this feature is TRUE, namespace processing is performed.TPhttp://xml.org/sax/features/namespace-prefixes: if this feature is TRUE, the the original prefixed names and attributes used for namespace declarations are reported.TPhttp://trolltech.com/xml/features/report-whitespace-only-CharData: if this feature is TRUE, CharData that consists only of whitespace (and no other characters) is not reported via QXmlContentHandler::characters().PPSee also feature() and hasFeature()..PPExamples:.(lxml/tagreader.)l-with-features/tagreader.cpp.PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setLexicalHandler ( QXmlLexicalHandler * handler ) \fC[virtual]\fR"Reimplemented for internal reasons; the API is not affected..PPReimplemented from QXmlReader..SH "void QXmlSimpleReader::setProperty ( const QString &, void * ) \fC[virtual]\fR"Does nothing since this class does not support any properties..PPReimplemented from QXmlReader..SH "SEE ALSO".BR http://doc.trolltech.com/qxmlsimplereader.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 make our job much simpler. Thank you..PIn case of content or formattting problems with this manual page, pleasereport them to.BR qt-bugs@trolltech.com .Please include the name of the manual page (qxmlsimplereader.3qt) and the Qtversion (2.3.0).

⌨️ 快捷键说明

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