The implementation of the default error handling for Xalan. More...
Public Member Functions | |
ProblemListenerDefault (MemoryManagerType &theManager, PrintWriter *pw=0) | |
virtual | ~ProblemListenerDefault () |
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... | |
PrintWriter * | getPrintWriter () const |
![]() | |
ProblemListener () | |
virtual | ~ProblemListener () |
Static Public Member Functions | |
static void | problem (PrintWriter &pw, eProblemSource where, eClassification classification, const XalanNode *sourceNode, const ElemTemplateElement *styleNode, const XalanDOMString &msg, const XalanDOMChar *uri, int lineNo, int charOffset) |
Additional Inherited Members | |
![]() | |
enum | eProblemSource { eXMLPARSER = 1, eXSLPROCESSOR = 2, eXPATH = 3 } |
Sources of problem. More... | |
enum | eClassification { eMESSAGE = 0, eWARNING = 1, eERROR = 2 } |
Severity of problem. More... | |
The implementation of the default error handling for Xalan.
ProblemListenerDefault::ProblemListenerDefault | ( | MemoryManagerType & | theManager, |
PrintWriter * | pw = 0 |
||
) |
|
virtual |
PrintWriter* ProblemListenerDefault::getPrintWriter | ( | ) | const |
|
virtual |
Function that is called when a problem event occurs.
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.
|
static |
|
virtual |
Set the print writer to which the problem is reported.
pw | writer to receive messages |
Implements ProblemListener.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|