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  

ProblemListener.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 /*
00017  * $Id: ProblemListener.hpp,v 1.5 2004/11/08 18:18:56 dmitryh Exp $
00018  */
00019 #if !defined(XALAN_PROBLEMLISTENER_HEADER_GUARD)
00020 #define XALAN_PROBLEMLISTENER_HEADER_GUARD
00021 
00022 
00023 
00024 // Base include file.  Must be first.
00025 #include <xalanc/XSLT/XSLTDefinitions.hpp>
00026 
00027 
00028 
00029 #include <xalanc/XalanDOM/XalanDOMString.hpp>
00030 
00031 
00032 
00033 XALAN_CPP_NAMESPACE_BEGIN
00034 
00035 
00036 
00037 class ElemTemplateElement;
00038 class XalanNode;
00039 class PrintWriter;
00040 
00041 
00042 
00049 class XALAN_XSLT_EXPORT ProblemListener
00050 {
00051 public:
00052 
00054     enum eProblemSource { eXMLPARSER        = 1,
00055                           eXSLPROCESSOR     = 2,
00056                           eXPATH            = 3 };
00057 
00059     enum eClassification {  eMESSAGE    = 0,
00060                             eWARNING    = 1,
00061                             eERROR      = 2 };
00062 
00063     ProblemListener();
00064 
00065     virtual
00066     ~ProblemListener();
00067 
00073     virtual void
00074     setPrintWriter(PrintWriter*     pw) = 0;
00075 
00090     virtual void
00091     problem(
00092             eProblemSource              where,
00093             eClassification             classification,
00094             const XalanNode*            sourceNode,
00095             const ElemTemplateElement*  styleNode,
00096             const XalanDOMString&       msg,
00097             const XalanDOMChar*         uri,
00098             int                         lineNo,
00099             int                         charOffset) = 0;
00100 
00101 };
00102 
00103 
00104 
00105 XALAN_CPP_NAMESPACE_END
00106 
00107 
00108 
00109 #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