QXmlDefaultHandler Class Reference
[XML module]
The QXmlDefaultHandler class provides a default implementation of all
XML handler classes.
More...
#include <qxml.h>
Inherits QXmlContentHandler, QXmlErrorHandler, QXmlDTDHandler, QXmlEntityResolver, QXmlLexicalHandler, and QXmlDeclHandler.
Inherited by XmlHandler.
List of all member functions.
Public Members
- QXmlDefaultHandler ()
- virtual ~QXmlDefaultHandler ()
- virtual void setDocumentLocator ( QXmlLocator * locator )
- virtual bool startDocument ()
- virtual bool endDocument ()
- virtual bool startPrefixMapping ( const QString & prefix, const QString & uri )
- virtual bool endPrefixMapping ( const QString & prefix )
- 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 ignorableWhitespace ( const QString & ch )
- virtual bool processingInstruction ( const QString & target, const QString & data )
- virtual bool skippedEntity ( const QString & name )
- 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 endDTD ()
- virtual bool startCDATA ()
- virtual bool endCDATA ()
- 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 )
- virtual QString errorString ()
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 & eName, const QString & aName, const QString & type, const QString & valueDefault, const QString & value ) [virtual]
Does nothing.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::characters ( const QString & ch ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
Reimplemented in XmlHandler.
bool QXmlDefaultHandler::comment ( const QString & ch ) [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.
Reimplemented in XmlHandler.
bool QXmlDefaultHandler::endElement ( const QString & namespaceURI, const QString & localName, const QString & qName ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
Reimplemented in XmlHandler.
bool QXmlDefaultHandler::endPrefixMapping ( const QString & prefix ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::error ( const QXmlParseException & exception ) [virtual]
Does nothing.
Reimplemented from QXmlErrorHandler.
QString QXmlDefaultHandler::errorString () [virtual]
Returns the default error string.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::externalEntityDecl ( const QString & name, const QString & publicId, const QString & systemId ) [virtual]
Does nothing.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::fatalError ( const QXmlParseException & exception ) [virtual]
Does nothing.
Reimplemented from QXmlErrorHandler.
bool QXmlDefaultHandler::ignorableWhitespace ( const QString & ch ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::internalEntityDecl ( const QString & name, const QString & value ) [virtual]
Does nothing.
Reimplemented from QXmlDeclHandler.
bool QXmlDefaultHandler::notationDecl ( const QString & name, const QString & publicId, const QString & systemId ) [virtual]
Does nothing.
Reimplemented from QXmlDTDHandler.
bool QXmlDefaultHandler::processingInstruction ( const QString & target, const QString & data ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::resolveEntity ( const QString & publicId, const QString & systemId, 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 * locator ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::skippedEntity ( const QString & name ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::startCDATA () [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::startDTD ( const QString & name, const QString & publicId, const QString & systemId ) [virtual]
Does nothing.
Reimplemented from QXmlLexicalHandler.
bool QXmlDefaultHandler::startDocument () [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
Reimplemented in XmlHandler.
bool QXmlDefaultHandler::startElement ( const QString & namespaceURI, const QString & localName, const QString & qName, const QXmlAttributes & atts ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
Reimplemented in XmlHandler.
bool QXmlDefaultHandler::startPrefixMapping ( const QString & prefix, const QString & uri ) [virtual]
Does nothing.
Reimplemented from QXmlContentHandler.
bool QXmlDefaultHandler::unparsedEntityDecl ( const QString & name, const QString & publicId, const QString & systemId, const QString & notationName ) [virtual]
Does nothing.
Reimplemented from QXmlDTDHandler.
bool QXmlDefaultHandler::warning ( const QXmlParseException & exception ) [virtual]
Does nothing.
Reimplemented from QXmlErrorHandler.
This file is part of the Qtopia platform,
copyright © 1995-2005
Trolltech, all rights reserved.
| Copyright © 2005 Trolltech
| Trademarks
| Qtopia version 2.2.0
|