Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

streamdom::SAXErrorHandler Class Reference

#include <sd_SAXErrorHandler.h>

Inheritance diagram for streamdom::SAXErrorHandler:

Inheritance graph
Collaboration diagram for streamdom::SAXErrorHandler:

Collaboration graph
List of all members.

Public Methods

 SAXErrorHandler (bool continueAfterError=true)
virtual bool warning (const QXmlParseException &exception)
virtual bool error (const QXmlParseException &exception)
virtual bool fatalError (const QXmlParseException &exception)
virtual QString errorString ()
virtual ~SAXErrorHandler ()

Detailed Description

A simple error handler that logs its errors using cerr and cout

(c) V Lakshmanan,, Dec. 2001

Permission is granted to use/modify this class freely in any software -- commercial, open-source or proprietary -- under the condition that this documentation, copyright and usage information may not be removed.

This software is supplied in the hope that it will be useful. There is no warranty whatsoever, not even any implied warranties.

Constructor & Destructor Documentation

streamdom::SAXErrorHandler::SAXErrorHandler ( bool continueAfterError = true ) [inline]

Specify whether or not you wish the parser to continue processing when an error is encountered.

By default, it will continue, as we mean to use this with a streaming DOM.

On a warning, it will continue and on a fatal error, it won't. This setting is only for errors.

The documentation for this class was generated from the following files:
Generated at Fri Jan 4 15:19:10 2002 for streamdom by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001