Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | List of all members
XalanTransformerProblemListener Class Reference
Inheritance diagram for XalanTransformerProblemListener:
ProblemListener

Public Types

typedef std::ostream StreamType
 
- Public Types inherited from ProblemListener
enum  eProblemSource { eXMLPARSER = 1, eXSLPROCESSOR = 2, eXPATH = 3 }
 Sources of problem. More...
 
enum  eClassification { eMESSAGE = 0, eWARNING = 1, eERROR = 2 }
 Severity of problem. More...
 

Public Member Functions

 XalanTransformerProblemListener (MemoryManagerType &theManager, StreamType *theStream, PrintWriter *thePrintWriter)
 
virtual ~XalanTransformerProblemListener ()
 
virtual void setPrintWriter (PrintWriter *pw)
 Set the print writer to which the problem is reported. More...
 
virtual void problem (eProblemSource where, eClassification classification, const XalanNode *sourceNode, const ElemTemplateElement *styleNode, const XalanDOMString &msg, const XalanDOMChar *uri, int lineNo, int charOffset)
 Function that is called when a problem event occurs. More...
 
- Public Member Functions inherited from ProblemListener
 ProblemListener ()
 
virtual ~ProblemListener ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

XalanTransformerProblemListener::XalanTransformerProblemListener ( MemoryManagerType theManager,
StreamType theStream,
PrintWriter thePrintWriter 
)
virtual XalanTransformerProblemListener::~XalanTransformerProblemListener ( )
virtual

Member Function Documentation

virtual void XalanTransformerProblemListener::problem ( eProblemSource  where,
eClassification  classification,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString msg,
const XalanDOMChar *  uri,
int  lineNo,
int  charOffset 
)
virtual

Function that is called when a problem event occurs.

Parameters
whereeither in XMLPARSER, XSLPROCESSOR, or QUERYENGINE
classificationeither MESSAGE, ERROR or WARNING
sourceNodesource tree node where the problem occurred (may be 0)
styleNodestyle tree node where the problem occurred (may be 0)
msgstring message explaining the problem.
urithe URI of the document where the problem occurred. May be 0.
lineNoline number where the problem occurred.
charOffsetcharacter offset where the problem.

Implements ProblemListener.

virtual void XalanTransformerProblemListener::setPrintWriter ( PrintWriter pw)
virtual

Set the print writer to which the problem is reported.

Parameters
pwwriter to receive messages

Implements ProblemListener.


The documentation for this class was generated from the following file:

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