HomeHome

ClassesAnnotated - TreeFunctionsHomeStructure

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


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 QXmlDTDHandler.

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 * ret ) [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-2000 Trolltech, all rights reserved.


Copyright İ 2000 TrolltechTrademarks
Qt version 2.2.1