| API Docs for SAX and DOM |

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

# 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  * $Log: DOMErrorHandler.hpp,v $
    00022  * Revision 1.8  2004/09/08 13:55:39  peiyongz
    00023  * Apache License Version 2.0
    00024  *
    00025  * Revision 1.7  2003/03/07 19:59:05  tng
    00026  * [Bug 11692] Unimplement the hidden constructors and assignment operator to remove warnings from gcc.
    00027  *
    00028  * Revision 1.6  2002/11/04 15:09:24  tng
    00029  * C++ Namespace Support.
    00030  *
    00031  * Revision 1.5  2002/08/22 15:04:57  tng
    00032  * Remove unused parameter variables in inline functions.
    00033  *
    00034  * Revision 1.4  2002/07/15 19:26:34  tng
    00035  * DOM L3: remove non standard resetErrors
    00036  *
    00037  * Revision 1.3  2002/06/06 20:53:06  tng
    00038  * Documentation Fix: Update the API Documentation for DOM headers
    00039  *
    00040  * Revision 1.2  2002/05/30 19:24:48  knoaman
    00041  * documentation update
    00042  *
    00043  * Revision 1.1  2002/05/23 15:47:24  knoaman
    00044  * DOM L3 core - support for DOMError, DOMErrorHandler and DOMLocator
    00045  *
    00046  */
    00047
    00048
    00049 #include <xercesc/util/XercesDefs.hpp>
    00050
    00051 XERCES_CPP_NAMESPACE_BEGIN
    00052
    00053
    00054 class DOMError;
    00055
    00070 class  DOMErrorHandler
    00071 {
    00072 protected:
    00073     // -----------------------------------------------------------------------
    00074     //  Hidden constructors
    00075     // -----------------------------------------------------------------------
    00078     DOMErrorHandler() {};
    00080
    00081 private:
    00082     // -----------------------------------------------------------------------
    00083     // Unimplemented constructors and operators
    00084     // -----------------------------------------------------------------------
    00087     DOMErrorHandler(const DOMErrorHandler &);
    00088     DOMErrorHandler & operator = (const DOMErrorHandler &);
    00090
    00091 public:
    00092     // -----------------------------------------------------------------------
    00093     //  All constructors are hidden, just the destructor is available
    00094     // -----------------------------------------------------------------------
    00101     virtual ~DOMErrorHandler() {};
    00103
    00104     // -----------------------------------------------------------------------
    00105     //  Virtual DOMErrorHandler interface
    00106     // -----------------------------------------------------------------------
    00125     virtual bool handleError(const DOMError& domError) = 0;
    00127
    00128 };
    00129
    00130 XERCES_CPP_NAMESPACE_END
    00131
    00132 #endif

Copyright © 1994-2004 The Apache Software Foundation. All Rights Reserved.