Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanTransformerProblemListener.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 #if !defined(XALAN_XALANTRANSFORMERPROBLEMLISTENER_HEADER_GUARD)
17 #define XALAN_XALANTRANSFORMERPROBLEMLISTENER_HEADER_GUARD
18 
19 
20 
21 
22 // Base include file. Must be first.
24 
25 
26 
27 #if defined(XALAN_CLASSIC_IOSTREAMS)
28 class ostream;
29 #else
30 #include <iosfwd>
31 #endif
32 
33 
34 
35 // Xalan header files.
37 
38 
39 
40 XALAN_CPP_NAMESPACE_BEGIN
41 
42 
43 
45 {
46 public:
47 
48 #if defined(XALAN_NO_STD_NAMESPACE)
49  typedef ostream StreamType;
50 #else
51  typedef std::ostream StreamType;
52 #endif
53 
55  MemoryManagerType& theManager,
56  StreamType* theStream,
57  PrintWriter* thePrintWriter);
58 
59  virtual
61 
62  // These methods are inherited from ProblemListener ...
63 
64  virtual void
66 
67  virtual void
68  problem(
69  eProblemSource where,
70  eClassification classification,
71  const XalanNode* sourceNode,
72  const ElemTemplateElement* styleNode,
73  const XalanDOMString& msg,
74  const XalanDOMChar* uri,
75  int lineNo,
76  int charOffset);
77 
78 private:
79  //not implemented
82 
83  ProblemListenerDefault m_problemListener;
84 
85  StreamType* m_warningStream;
86 
87  XalanDOMString m_warningString;
88 };
89 
90 
91 
92 XALAN_CPP_NAMESPACE_END
93 
94 
95 
96 #endif // XALAN_XALANTRANSFORMERPROBLEMLISTENER_HEADER_GUARD
virtual void problem(eProblemSource where, eClassification classification, const XalanNode *sourceNode, const ElemTemplateElement *styleNode, const XalanDOMString &msg, const XalanDOMChar *uri, int lineNo, int charOffset)=0
Function that is called when a problem event occurs.
Definition: XalanNode.hpp:44
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: ElemTemplateElement.hpp:74
eClassification
Severity of problem.
Definition: ProblemListener.hpp:59
This is the abstract class that the XSL processor uses when it has a problem of some kind...
Definition: ProblemListener.hpp:49
std::ostream StreamType
Definition: XalanTransformerProblemListener.hpp:51
Definition: XalanTransformerProblemListener.hpp:44
Definition: PrintWriter.hpp:35
eProblemSource
Sources of problem.
Definition: ProblemListener.hpp:54
The implementation of the default error handling for Xalan.
Definition: ProblemListenerDefault.hpp:38
Definition: XalanDOMString.hpp:42
virtual void setPrintWriter(PrintWriter *pw)=0
Set the print writer to which the problem is reported.
#define XALAN_TRANSFORMER_EXPORT
Definition: XalanTransformerDefinitions.hpp:37

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