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

📄 qxmldeclhandler.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
字号:
.TH QXmlDeclHandler 3qt "10 November 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQXmlDeclHandler \- Interface to report declaration content of XML data<h1 align=center>QXmlDeclHandler Class Reference.br<small>[ XML module ]</small></h1>.br.PP\fC#include <qxml.h>\fR.PPInherited by QXmlDefaultHandler..PP.SS "Public Members".in +1c.ti -1c.BI "virtual bool \fBattributeDecl\fR ( const QString & " "eName" ", const QString & " "aName" ", const QString & " "type" ", const QString & " "valueDefault" ", const QString & value ) ".br.ti -1c.BI "virtual bool \fBinternalEntityDecl\fR ( const QString & " "name" ", const QString & value ) ".br.ti -1c.BI "virtual bool \fBexternalEntityDecl\fR ( const QString & " "name" ", const QString & " "publicId" ", const QString & systemId ) ".br.ti -1c.BI "virtual QString \fBerrorString\fR () ".br.in -1c.SH DESCRIPTIONThe QXmlDeclHandler class provides an interface to report declaration content of XML data..PPYou can set the declaration handler with QXmlReader::setDeclHandler()..PPThis interface is designed after the SAX2 extension DeclHandler..PPSee also the Introduction to SAX2..PPSee also QXmlDTDHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler and QXmlLexicalHandler..SH MEMBER FUNCTION DOCUMENTATION.SH "bool QXmlDeclHandler::attributeDecl ( const QString & eName, const QString & aName, const QString & type, const QString & valueDefault, const QString & value ) \fC[virtual]\fR"The reader calls this function to report an attribute type declaration. Only the effective (first) declaration for an attribute will be reported..PPIf this function returns FALSE the reader will stop parsing and will report an error. The reader will use the function errorString() to get the error message that will be used for reporting the error..PPReimplemented in QXmlDefaultHandler..SH "QString QXmlDeclHandler::errorString () \fC[virtual]\fR"The reader calls this function to get an error string if any of the handler functions returns FALSE to him..SH "bool QXmlDeclHandler::externalEntityDecl ( const QString & name, const QString & publicId, const QString & systemId ) \fC[virtual]\fR"The reader calls this function to report a parsed external entity declaration. Only the effective (first) declaration for each entity will be reported..PPIf this function returns FALSE the reader will stop parsing and will report an error. The reader will use the function errorString() to get the error message that will be used for reporting the error..PPReimplemented in QXmlDefaultHandler..SH "bool QXmlDeclHandler::internalEntityDecl ( const QString & name, const QString & value ) \fC[virtual]\fR"The reader calls this function to report an internal entity declaration. Only the effective (first) declaration will be reported..PPIf this function returns FALSE the reader will stop parsing and will report an error. The reader will use the function errorString() to get the error message that will be used for reporting the error..PPReimplemented in QXmlDefaultHandler..SH "SEE ALSO".BR http://doc.trolltech.com/qxmldeclhandler.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

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