Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XalanTransformerProblemListener Class Reference

#include <XalanTransformerProblemListener.hpp>

Inherits ProblemListener.

Collaboration diagram for XalanTransformerProblemListener:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

Definition at line 50 of file XalanTransformerProblemListener.hpp.


Member Typedef Documentation

Definition at line 32 of file XalanTransformerProblemListener.hpp.


Constructor & Destructor Documentation

XalanTransformerProblemListener::XalanTransformerProblemListener ( MemoryManager &  theManager,
StreamType theStream,
PrintWriter thePrintWriter 
)
virtual XalanTransformerProblemListener::~XalanTransformerProblemListener (  )  [virtual]

Member Function Documentation

virtual void XalanTransformerProblemListener::problem ( eSource  source,
eClassification  classification,
const XalanNode sourceNode,
const ElemTemplateElement styleNode,
const XalanDOMString msg,
const XalanDOMChar *  uri,
XalanFileLoc  lineNo,
XalanFileLoc  charOffset 
) [virtual]

Function that is called when a problem event occurs.

This function is deprecated. Use the overload with the Locator parameter instead.

Deprecated:
Parameters:
source either eXMLPARSER, eXSLPROCESSOR, or eXPATH
classification either eMESSAGE, eERROR or eWARNING
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.

virtual void XalanTransformerProblemListener::problem ( eSource  source,
eClassification  classification,
const XalanDOMString msg,
const XalanNode sourceNode 
) [virtual]

Function that is called when a problem event occurs.

This version assumes location information is already formatted into the message.

Parameters:
source either eXMLPARSER, eXSLPROCESSOR, or eXPATH
classification either eMESSAGE, eERROR or eWARNING
msg string message explaining the problem.

Implements ProblemListener.

virtual void XalanTransformerProblemListener::problem ( eSource  source,
eClassification  classification,
const XalanDOMString msg,
const Locator *  locator,
const XalanNode sourceNode 
) [virtual]

Function that is called when a problem event occurs.

Parameters:
source Either eXMLParser, eXSLProcessor, or eXPATH.
classification Either eMessage, eWarning, or eError.
locator The current Locator instance for the stylesheet. Maybe be a null pointer.
sourceNode The current source node, if any.
msg The error message.

Implements ProblemListener.

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

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.

Xalan-C++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo