Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

ProblemListenerDefault Class Reference

The implementation of the default error handling for Xalan. More...

Inheritance diagram for ProblemListenerDefault:

ProblemListener

List of all members.

Public Member Functions

Static Public Member Functions


Detailed Description

The implementation of the default error handling for Xalan.

Constructor & Destructor Documentation

ProblemListenerDefault::ProblemListenerDefault ( MemoryManagerType theManager,
PrintWriter pw = 0 
)

virtual ProblemListenerDefault::~ProblemListenerDefault (  )  [virtual]


Member Function Documentation

virtual void ProblemListenerDefault::setPrintWriter ( PrintWriter pw  )  [virtual]

Set the print writer to which the problem is reported.

Parameters:
pw writer to receive messages

Implements ProblemListener.

virtual void ProblemListenerDefault::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:
where either in XMLPARSER, XSLPROCESSOR, or QUERYENGINE
classification either MESSAGE, ERROR or WARNING
sourceNode source tree node where the problem occurred (may be 0)
styleNode style tree node where the problem occurred (may be 0)
msg string message explaining the problem.
uri the URI of the document where the problem occurred. May be 0.
lineNo line number where the problem occurred.
charOffset character offset where the problem.

Implements ProblemListener.

PrintWriter* ProblemListenerDefault::getPrintWriter (  )  const

static void ProblemListenerDefault::problem ( PrintWriter pw,
eProblemSource  where,
eClassification  classification,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString msg,
const XalanDOMChar *  uri,
int  lineNo,
int  charOffset 
) [static]


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