Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ProblemListener.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-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  * $Id: ProblemListener.hpp,v 1.5 2004/11/08 18:18:56 dmitryh Exp $
18  */
19 #if !defined(XALAN_PROBLEMLISTENER_HEADER_GUARD)
20 #define XALAN_PROBLEMLISTENER_HEADER_GUARD
21 
22 
23 
24 // Base include file. Must be first.
26 
27 
28 
30 
31 
32 
33 XALAN_CPP_NAMESPACE_BEGIN
34 
35 
36 
38 class XalanNode;
39 class PrintWriter;
40 
41 
42 
50 {
51 public:
52 
54  enum eProblemSource { eXMLPARSER = 1,
55  eXSLPROCESSOR = 2,
56  eXPATH = 3 };
57 
59  enum eClassification { eMESSAGE = 0,
60  eWARNING = 1,
61  eERROR = 2 };
62 
64 
65  virtual
66  ~ProblemListener();
67 
73  virtual void
74  setPrintWriter(PrintWriter* pw) = 0;
75 
90  virtual void
91  problem(
92  eProblemSource where,
93  eClassification classification,
94  const XalanNode* sourceNode,
95  const ElemTemplateElement* styleNode,
96  const XalanDOMString& msg,
97  const XalanDOMChar* uri,
98  int lineNo,
99  int charOffset) = 0;
100 
101 };
102 
103 
104 
105 XALAN_CPP_NAMESPACE_END
106 
107 
108 
109 #endif // XALAN_PROBLEMLISTENER_HEADER_GUARD

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo