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

BxDomErrorHandler.h

00001 // ##################################################################
00002 // Binx
00003 // $Id: BxDomErrorHandler_8h-source.html,v 1.1.1.1 2006/04/19 14:19:02 edikt2 Exp $
00004 //
00005 // BxDomErrorHandler is the error handler for BxDomParser.
00006 // ##################################################################
00007 /*
00008 
00009 //  edikt::BinX
00010 //  www.edikt.org
00011 //  support@edikt.org
00012 
00013 // Copyright (c) 2003 The University of Edinburgh.
00014 
00015 */
00016 
00017 #ifndef __BxDomErrorHandler__
00018 #define __BxDomErrorHandler__
00019 
00020 #include <xercesc/dom/DOMErrorHandler.hpp>
00021 #include <xercesc/dom/DOMError.hpp>
00022 #include <xercesc/util/XMLString.hpp>
00023 #include <xercesc/dom/DOMLocator.hpp>
00024 
00025 XERCES_CPP_NAMESPACE_USE
00026 
00027 /*
00028  * Class managing errors from a wrapped third party DOM parser.
00029  * <BR><B>Since:</B>  BinX version 1.0.
00030  */
00031 class BxDomErrorHandler : public DOMErrorHandler
00032 {
00033 public:
00034     BxDomErrorHandler();
00035     ~BxDomErrorHandler() {};
00036 
00037     bool getSawErrors() const { return fSawErrors; }
00038     bool handleError(const DOMError& domError);
00039     void resetErrors();
00040 
00041 private :
00042     BxDomErrorHandler(const BxDomErrorHandler&);
00043 
00044     bool fSawErrors;
00045 };
00046 
00047 #endif

Generated on Fri May 6 13:36:17 2005 for edikt::BinX by doxygen 1.3.3