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

sd_SAXErrorHandler.h

00001 #ifndef lak_SAXErrorHandler_h
00002 #define lak_SAXErrorHandler_h
00003 
00004 #include <qxml.h>
00005 
00006 namespace streamdom
00007 {
00023   class SAXErrorHandler : public QXmlErrorHandler
00024   {
00025   public:
00036     SAXErrorHandler( bool continueAfterError = true )
00037       :
00038       continueOnError( continueAfterError )
00039     {
00040     }
00041     
00042     virtual bool warning ( const QXmlParseException & exception ) ;
00043     virtual bool error ( const QXmlParseException & exception ) ;
00044     virtual bool fatalError ( const QXmlParseException & exception ) ;
00045     virtual QString errorString () ;
00046     virtual ~SAXErrorHandler();
00047 
00048   private:
00049     void setErr ( const QString& type,
00050                   const QXmlParseException & exception );
00051   private:
00052     bool continueOnError;
00053     QString err;
00054   }
00055   ;
00056 }
00057 
00058 #endif

Generated at Fri Jan 4 15:19:10 2002 for streamdom by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001