DOMErrorHandler.hpp

Go to the documentation of this file.
00001 #ifndef DOMErrorHandler_HEADER_GUARD_
00002 #define DOMErrorHandler_HEADER_GUARD_
00003 
00004 /*
00005  * Copyright 2002,2004 The Apache Software Foundation.
00006  * 
00007  * Licensed under the Apache License, Version 2.0 (the "License");
00008  * you may not use this file except in compliance with the License.
00009  * You may obtain a copy of the License at
00010  * 
00011  *      http://www.apache.org/licenses/LICENSE-2.0
00012  * 
00013  * Unless required by applicable law or agreed to in writing, software
00014  * distributed under the License is distributed on an "AS IS" BASIS,
00015  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016  * See the License for the specific language governing permissions and
00017  * limitations under the License.
00018  */
00019 
00020 /*
00021  * $Id: DOMErrorHandler.hpp 191054 2005-06-17 02:56:35Z jberry $
00022  */
00023 
00024 
00025 #include <xercesc/util/XercesDefs.hpp>
00026 
00027 XERCES_CPP_NAMESPACE_BEGIN
00028 
00029 
00030 class DOMError;
00031 
00046 class CDOM_EXPORT DOMErrorHandler
00047 {
00048 protected:
00049     // -----------------------------------------------------------------------
00050     //  Hidden constructors
00051     // -----------------------------------------------------------------------
00054     DOMErrorHandler() {};
00056 
00057 private:
00058     // -----------------------------------------------------------------------
00059     // Unimplemented constructors and operators
00060     // -----------------------------------------------------------------------
00063     DOMErrorHandler(const DOMErrorHandler &);
00064     DOMErrorHandler & operator = (const DOMErrorHandler &);
00066 
00067 public:
00068     // -----------------------------------------------------------------------
00069     //  All constructors are hidden, just the destructor is available
00070     // -----------------------------------------------------------------------
00077     virtual ~DOMErrorHandler() {};
00079 
00080     // -----------------------------------------------------------------------
00081     //  Virtual DOMErrorHandler interface
00082     // -----------------------------------------------------------------------
00101     virtual bool handleError(const DOMError& domError) = 0;
00103 
00104 };
00105 
00106 XERCES_CPP_NAMESPACE_END
00107 
00108 #endif

Generated on Tue Dec 12 00:19:01 2006 for XQilla DOM Level 3 API by  doxygen 1.4.6