Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ProblemListenerDefault.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_PROBLEMLISTENERDEFAULT_HEADER_GUARD)
17 #define XALAN_PROBLEMLISTENERDEFAULT_HEADER_GUARD
18 
19 
20 
21 // Base include file. Must be first.
22 #include "XSLTDefinitions.hpp"
23 
24 
25 
26 // Xalan header files.
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
39 {
40 public:
41 
43  PrintWriter* pw = 0);
44 
45  virtual
47 
48  // These methods are inherited from ProblemListener ...
49 
50  virtual void
52 
53  virtual void
54  problem(
55  eProblemSource where,
56  eClassification classification,
57  const XalanNode* sourceNode,
58  const ElemTemplateElement* styleNode,
59  const XalanDOMString& msg,
60  const XalanDOMChar* uri,
61  int lineNo,
62  int charOffset);
63 
64  // These methods are new...
65 
67  getPrintWriter() const
68  {
69  return m_pw;
70  }
71 
72  static void
73  problem(
74  PrintWriter& pw,
75  eProblemSource where,
76  eClassification classification,
77  const XalanNode* sourceNode,
78  const ElemTemplateElement* styleNode,
79  const XalanDOMString& msg,
80  const XalanDOMChar* uri,
81  int lineNo,
82  int charOffset);
83 
84 private:
85 
86  MemoryManagerType& m_memoryManager;
87 
88  PrintWriter* m_pw;
89 };
90 
91 
92 
93 XALAN_CPP_NAMESPACE_END
94 
95 
96 
97 #endif // XALAN_PROBLEMLISTENERDEFAULT_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