From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- doc/html/qxmllexicalhandler.html | 177 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) create mode 100644 doc/html/qxmllexicalhandler.html (limited to 'doc/html/qxmllexicalhandler.html') diff --git a/doc/html/qxmllexicalhandler.html b/doc/html/qxmllexicalhandler.html new file mode 100644 index 000000000..b906714dd --- /dev/null +++ b/doc/html/qxmllexicalhandler.html @@ -0,0 +1,177 @@ + + + + + +TQXmlLexicalHandler Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

TQXmlLexicalHandler Class Reference
[XML module]

+ +

The TQXmlLexicalHandler class provides an interface to +report the lexical content of XML data. +More... +

All the functions in this class are reentrant when TQt is built with thread support.

+

#include <qxml.h> +

Inherited by TQXmlDefaultHandler. +

List of all member functions. +

Public Members

+ +

Detailed Description

+ + + +The TQXmlLexicalHandler class provides an interface to +report the lexical content of XML data. + +

+ +

The 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. +

You can set the lexical handler with +TQXmlReader::setLexicalHandler(). +

This interface's design is based on the the SAX2 extension +LexicalHandler. +

The interface provides the startDTD(), endDTD(), startEntity(), +endEntity(), startCDATA(), endCDATA() and comment() functions. +

See also the Introduction to SAX2. +

See also TQXmlDTDHandler, TQXmlDeclHandler, TQXmlContentHandler, TQXmlEntityResolver, TQXmlErrorHandler, and XML. + +


Member Function Documentation

+

bool TQXmlLexicalHandler::comment ( const TQString & ch ) [pure virtual] +

+ +

The reader calls this function to report an XML comment anywhere +in the document. It reports the text of the comment in ch. +

If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. + +

bool TQXmlLexicalHandler::endCDATA () [pure virtual] +

+ +

The reader calls this function to report the end of a CDATA +section. +

If this function returns FALSE the reader stops parsing and reports +an error. The reader uses the function errorString() to get the error +message. +

See also startCDATA() and TQXmlContentHandler::characters(). + +

bool TQXmlLexicalHandler::endDTD () [pure virtual] +

+ +

The reader calls this function to report the end of a DTD +declaration, if any. +

If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

See also startDTD(). + +

bool TQXmlLexicalHandler::endEntity ( const TQString & name ) [pure virtual] +

+ +

The reader calls this function to report the end of an entity +called name. +

For every startEntity() call, there is a corresponding endEntity() +call. The calls to startEntity() and endEntity() are properly +nested. +

If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

See also startEntity(), TQXmlContentHandler::skippedEntity(), and TQXmlSimpleReader::setFeature(). + +

TQString TQXmlLexicalHandler::errorString () [pure virtual] +

+ +

The reader calls this function to get an error string if any of +the handler functions returns FALSE. + +

bool TQXmlLexicalHandler::startCDATA () [pure virtual] +

+ +

The reader calls this function to report the start of a CDATA +section. The content of the CDATA section is reported through the +TQXmlContentHandler::characters() function. This function is +intended only to report the boundary. +

If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

See also endCDATA(). + +

bool TQXmlLexicalHandler::startDTD ( const TQString & name, const TQString & publicId, const TQString & systemId ) [pure virtual] +

+ +

The reader calls this function to report the start of a DTD +declaration, if any. It reports the name of the document type in +name, the public identifier in publicId and the system +identifier in systemId. +

If the public identifier is missing, publicId is set to +TQString::null. If the system identifier is missing, systemId is +set to TQString::null. Note that it is not valid XML to have a +public identifier but no system identifier; in such cases a parse +error will occur. +

All declarations reported through TQXmlDTDHandler or +TQXmlDeclHandler appear between the startDTD() and endDTD() calls. +

If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

See also endDTD(). + +

bool TQXmlLexicalHandler::startEntity ( const TQString & name ) [pure virtual] +

+ +

The reader calls this function to report the start of an entity +called name. +

Note that if the entity is unknown, the reader reports it through +TQXmlContentHandler::skippedEntity() and not through this +function. +

If this function returns FALSE the reader stops parsing and +reports an error. The reader uses the function errorString() to +get the error message. +

See also endEntity() and TQXmlSimpleReader::setFeature(). + + +


+This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
TQt 3.3.8
+
+ -- cgit v1.2.1