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

📄 qxmllexicalhandler.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
字号:
.TH QXmlLexicalHandler 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 NAMEQXmlLexicalHandler \- Interface to report lexical content of XML data<h1 align=center>QXmlLexicalHandler 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 \fBstartDTD\fR ( const QString & " "name" ", const QString & " "publicId" ", const QString & systemId ) ".br.ti -1c.BI "virtual bool \fBendDTD\fR () ".br.ti -1c.BI "virtual bool \fBstartCDATA\fR () ".br.ti -1c.BI "virtual bool \fBendCDATA\fR () ".br.ti -1c.BI "virtual bool \fBcomment\fR ( const QString & ch ) ".br.ti -1c.BI "virtual QString \fBerrorString\fR () ".br.in -1c.SH DESCRIPTIONThe QXmlLexicalHandler class provides an interface to report lexical content of XML data..PPThe events in the lexical handler apply to the entire document, not just to the document element, and all lexical handler events appear between the content handler's startDocument and endDocument events..PPYou can set the lexical handler with QXmlReader::setLexicalHandler()..PPThis interface is designed after the SAX2 extension LexicalHandler. The functions startEntity() and endEntity() are not included though..PPSee also the Introduction to SAX2..PPSee also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver and QXmlErrorHandler..SH MEMBER FUNCTION DOCUMENTATION.SH "bool QXmlLexicalHandler::comment ( const QString & ch ) \fC[virtual]\fR"The reader calls this function to report an XML comment anywhere in the document..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 QXmlLexicalHandler::endCDATA () \fC[virtual]\fR"The reader calls this function to report the end of a CDATA section..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..PPSee also startCDATA()..PPReimplemented in QXmlDefaultHandler..SH "bool QXmlLexicalHandler::endDTD () \fC[virtual]\fR"The reader calls this function to report the end of a DTD declaration, if any..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..PPSee also startDTD()..PPReimplemented in QXmlDefaultHandler..SH "QString QXmlLexicalHandler::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 QXmlLexicalHandler::startCDATA () \fC[virtual]\fR"The reader calls this function to report the start of a CDATA section. The content of the CDATA section will be reported through the regular QXmlContentHandler::characters(). This function is intended only to report the boundary..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..PPSee also endCDATA()..PPReimplemented in QXmlDefaultHandler..SH "bool QXmlLexicalHandler::startDTD ( const QString & name, const QString & publicId, const QString & systemId ) \fC[virtual]\fR"The reader calls this function to report the start of a DTD declaration, if any..PPAll declarations reported through QXmlDTDHandler or QXmlDeclHandler appear between the startDTD() and endDTD() calls..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..PPSee also endDTD()..PPReimplemented in QXmlDefaultHandler..SH "SEE ALSO".BR http://doc.trolltech.com/qxmllexicalhandler.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 + -