Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

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

ProblemListenerDefault Class Reference

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

#include <ProblemListenerDefault.hpp>

Inheritance diagram for ProblemListenerDefault:

ProblemListener Collaboration diagram for ProblemListenerDefault:

List of all members.

Public Methods


Detailed Description

The implementation of the default error handling for Xalan.


Constructor & Destructor Documentation

ProblemListenerDefault::ProblemListenerDefault ( PrintWriter * pw = 0)

virtual ProblemListenerDefault::~ProblemListenerDefault () [virtual]


Member Function Documentation

virtual bool ProblemListenerDefault::problem ( eProblemSource where,
eClassification classification,
const XalanNode * styleNode,
const XalanNode * sourceNode,
const XalanDOMString & msg,
const XalanDOMChar * id,
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
styleNode   style tree node where the problem occurred (may be null)
sourceNode   source tree node where the problem occurred (may be null)
msg   string message explaining the problem.
lineNo   line number where the problem occurred, if it is known, else zero
charOffset   character offset where the problem, occurred if it is known, else zero
Returns:
true if the return is an ERROR, in which case exception will be thrown. Otherwise the processor will continue to process.

Reimplemented from ProblemListener.

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

Set the print writer to which the problem is reported.

Parameters:
pw   writer to receive messages

Reimplemented from 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.

Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.