Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ProblemListenerDefault.hpp

Go to the documentation of this file.
00001 /*
00002  * Copyright 1999-2004 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #if !defined(XALAN_PROBLEMLISTENERDEFAULT_HEADER_GUARD)
00017 #define XALAN_PROBLEMLISTENERDEFAULT_HEADER_GUARD
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include "XSLTDefinitions.hpp"
00023 
00024 
00025 
00026 // Xalan header files.
00027 #include <xalanc/XSLT/ProblemListener.hpp>
00028 
00029 
00030 
00031 XALAN_CPP_NAMESPACE_BEGIN
00032 
00033 
00034 
00038 class XALAN_XSLT_EXPORT ProblemListenerDefault : public ProblemListener
00039 {
00040 public:
00041 
00042     ProblemListenerDefault(MemoryManagerType& theManager, 
00043                             PrintWriter*        pw = 0);
00044 
00045     virtual
00046     ~ProblemListenerDefault();
00047 
00048     // These methods are inherited from ProblemListener ...
00049 
00050     virtual void
00051     setPrintWriter(PrintWriter*     pw);
00052 
00053     virtual void
00054     problem(
00055             eProblemSource              where,
00056             eClassification             classification, 
00057             const XalanNode*            sourceNode,
00058             const ElemTemplateElement*  styleNode,
00059             const XalanDOMString&       msg,
00060             const XalanDOMChar*         uri,
00061             int                         lineNo,
00062             int                         charOffset);
00063 
00064     // These methods are new...
00065 
00066     PrintWriter*
00067     getPrintWriter() const
00068     {
00069         return m_pw;
00070     }
00071 
00072     static void
00073     problem(
00074             PrintWriter&                pw,
00075             eProblemSource              where,
00076             eClassification             classification,
00077             const XalanNode*            sourceNode,
00078             const ElemTemplateElement*  styleNode,
00079             const XalanDOMString&       msg,
00080             const XalanDOMChar*         uri,
00081             int                         lineNo,
00082             int                         charOffset);
00083 
00084 private:
00085 
00086     MemoryManagerType& m_memoryManager;
00087 
00088     PrintWriter*    m_pw;
00089 };
00090 
00091 
00092 
00093 XALAN_CPP_NAMESPACE_END
00094 
00095 
00096 
00097 #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