Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


XalanTransformerProblemListener.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 #if !defined(XALAN_XALANTRANSFORMERPROBLEMLISTENER_HEADER_GUARD)
19 #define XALAN_XALANTRANSFORMERPROBLEMLISTENER_HEADER_GUARD
20 
21 
22 
23 
24 // Base include file. Must be first.
26 
27 
28 
29 #if defined(XALAN_CLASSIC_IOSTREAMS)
30 class ostream;
31 #else
32 #include <iosfwd>
33 #endif
34 
35 
36 
37 // Xalan header files.
39 
40 
41 
43 
44 
45 
46 XALAN_CPP_NAMESPACE_BEGIN
47 
48 
49 
51 {
52 public:
53 
54 #if defined(XALAN_NO_STD_NAMESPACE)
55  typedef ostream StreamType;
56 #else
57  typedef std::ostream StreamType;
58 #endif
59 
61  MemoryManager& theManager,
62  StreamType* theStream,
63  PrintWriter* thePrintWriter);
64 
65  virtual
67 
68  // These methods are inherited from ProblemListener ...
69 
70  virtual void
72 
73  virtual void
74  problem(
75  eSource source,
76  eClassification classification,
77  const XalanNode* sourceNode,
78  const ElemTemplateElement* styleNode,
79  const XalanDOMString& msg,
80  const XalanDOMChar* uri,
81  XalanFileLoc lineNo,
82  XalanFileLoc charOffset);
83 
84  virtual void
85  problem(
86  eSource source,
87  eClassification classification,
88  const XalanDOMString& msg,
89  const Locator* locator,
90  const XalanNode* sourceNode);
91 
92  virtual void
93  problem(
94  eSource source,
95  eClassification classification,
96  const XalanDOMString& msg,
97  const XalanNode* sourceNode);
98 
99 private:
100 
101  //not implemented
104 
105  ProblemListenerDefault m_problemListener;
106 
107  StreamType* m_warningStream;
108 
109  XalanDOMString m_warningString;
110 };
111 
112 
113 
114 XALAN_CPP_NAMESPACE_END
115 
116 
117 
118 #endif // XALAN_XALANTRANSFORMERPROBLEMLISTENER_HEADER_GUARD
virtual void problem(eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)=0
Function that is called when a problem event occurs.
This is the abstract class that the XSL processor uses when it has a problem of some kind...
The implementation of the default error handling for Xalan.
virtual void setPrintWriter(PrintWriter *pw)=0
#define XALAN_TRANSFORMER_EXPORT

Interpreting class diagrams

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

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

Apache Logo