QXmlDefaultHandler Class Reference
[ XML module ]
The QXmlDefaultHandler class provides a default implementation of all XML handler classes.
More...
#include <qxml.h>
Inherits QXmlContentHandler, QXmlDTDHandler, QXmlDeclHandler, QXmlEntityResolver, QXmlErrorHandler and QXmlLexicalHandler.
List of all member functions.
Public Members
-
-
-
-
-
virtual boolÂ
startPrefixMapping ( const QString & prefix, const QString & uri )Â
-
virtual boolÂ
startElement ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts )Â
virtual boolÂ
endElement ( const QString & namespaceURI, const QString & localName, const QString & qName )Â
virtual boolÂ
characters ( const QString & ch )Â
-
-
-
virtual boolÂ
warning ( const QXmlParseException & exception )Â
virtual boolÂ
error ( const QXmlParseException & exception )Â
virtual boolÂ
fatalError ( const QXmlParseException & exception )Â
virtual boolÂ
notationDecl ( const QString & name, const QString & publicId, const QString & systemId )Â
virtual boolÂ
unparsedEntityDecl ( const QString & name, const QString & publicId, const QString & systemId, const QString & notationName )Â
virtual boolÂ
resolveEntity ( const QString & publicId, const QString & systemId, QXmlInputSource * ret )Â
virtual boolÂ
startDTD ( const QString & name, const QString & publicId, const QString & systemId )Â
-
-
-
virtual boolÂ
comment ( const QString & ch )Â
virtual boolÂ
attributeDecl ( const QString & eName, const QString & aName, const QString & type, const QString & valueDefault, const QString & value )Â
virtual boolÂ
internalEntityDecl ( const QString & name, const QString & value )Â
virtual boolÂ
externalEntityDecl ( const QString & name, const QString & publicId, const QString & systemId )Â
-
Detailed Description
The QXmlDefaultHandler class provides a default implementation of all XML handler classes.
Very often you are only interested in parts of the things that that the
reader reports to you. This class simply implements a default behaviour of
the handler classes (most of the time: do nothing). Normally this is the
class you subclass for implementing your customized handler.
See also the Introduction to SAX2.
See also QXmlDTDHandler, QXmlDeclHandler, QXmlContentHandler, QXmlEntityResolver, QXmlErrorHandler and QXmlLexicalHandler.
Member Function Documentation
QXmlDefaultHandler::QXmlDefaultHandler ()
Constructor.
QXmlDefaultHandler::~QXmlDefaultHandler () [virtual]
Destructor.
bool QXmlDefaultHandler::attributeDecl ( const QString &, const QString &, const QString &, const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::characters ( const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::comment ( const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::endCDATA () [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::endDTD () [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::endDocument () [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::endElement ( const QString &, const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::endPrefixMapping ( const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::error ( const QXmlParseException & ) [virtual]
Does nothing.
Reimplemented from QXmlErrorHandler.
QString QXmlDefaultHandler::errorString () [virtual]
Returns the default error string.
Reimplemented from QXmlErrorHandler.
bool QXmlDefaultHandler::externalEntityDecl ( const QString &, const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::fatalError ( const QXmlParseException & ) [virtual]
Does nothing.
Reimplemented from QXmlErrorHandler.
bool QXmlDefaultHandler::ignorableWhitespace ( const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::internalEntityDecl ( const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::notationDecl ( const QString &, const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlDTDHandler.
bool QXmlDefaultHandler::processingInstruction ( const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::resolveEntity ( const QString &, const QString &, QXmlInputSource * ) [virtual]
Always sets ret to 0, so that the reader will use the system identifier
provided in the XML document.
Reimplemented from QXmlEntityResolver.
void QXmlDefaultHandler::setDocumentLocator ( QXmlLocator * ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::skippedEntity ( const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::startCDATA () [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::startDTD ( const QString &, const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::startDocument () [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::startElement ( const QString &, const QString &, const QString &, const QXmlAttributes & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::startPrefixMapping ( const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::unparsedEntityDecl ( const QString &, const QString &, const QString &, const QString & ) [virtual]
Does nothing.
Reimplemented from QXmlDTDHandler.
bool QXmlDefaultHandler::warning ( const QXmlParseException & ) [virtual]
Does nothing.
Reimplemented from QXmlErrorHandler.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit,
copyright © 1995-2005
Trolltech, all rights reserved.