source: NonGTP/Xerces/xerces/samples/DOMPrint/DOMPrintErrorHandler.hpp @ 358

Revision 358, 1.6 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1/*
2 * Copyright 2002,2004 The Apache Software Foundation.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17/*
18 * $Id: DOMPrintErrorHandler.hpp,v 1.3 2004/09/08 13:55:31 peiyongz Exp $
19 * $Log: DOMPrintErrorHandler.hpp,v $
20 * Revision 1.3  2004/09/08 13:55:31  peiyongz
21 * Apache License Version 2.0
22 *
23 * Revision 1.2  2002/11/05 21:46:19  tng
24 * Explicit code using namespace in application.
25 *
26 * Revision 1.1  2002/05/29 21:19:50  peiyongz
27 * DOM3 DOMWriter/DOMWriterFilter
28 *
29 *
30 */
31
32
33#ifndef DOM_PRINT_ERROR_HANDLER_HPP
34#define DOM_PRINT_ERROR_HANDLER_HPP
35
36#include <xercesc/dom/DOMErrorHandler.hpp>
37
38XERCES_CPP_NAMESPACE_USE
39
40class DOMPrintErrorHandler : public DOMErrorHandler
41{
42public:
43
44    DOMPrintErrorHandler(){};
45    ~DOMPrintErrorHandler(){};
46
47    /** @name The error handler interface */
48    bool handleError(const DOMError& domError);
49    void resetErrors(){};
50
51private :
52    /* Unimplemented constructors and operators */
53    DOMPrintErrorHandler(const DOMErrorHandler&);
54    void operator=(const DOMErrorHandler&);
55
56};
57
58#endif
Note: See TracBrowser for help on using the repository browser.