This is the abstract class that the XSL processor uses when it has a problem of some kind, that requires a message, an error or a warning. More...
Public Types | |
| 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 | |
| ProblemListener () | |
| virtual | ~ProblemListener () |
| virtual void | setPrintWriter (PrintWriter *pw)=0 |
| 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)=0 |
| Function that is called when a problem event occurs. More... | |
This is the abstract class that the XSL processor uses when it has a problem of some kind, that requires a message, an error or a warning.
Users should ask the XSLTProcessor class to setProblemListener if they wish an object instance to be called when a problem event occurs.
| ProblemListener::ProblemListener | ( | ) |
|
virtual |
|
pure 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. |
Implemented in XalanTransformerProblemListener, and ProblemListenerDefault.
|
pure virtual |
Set the print writer to which the problem is reported.
| pw | writer to receive messages |
Implemented in XalanTransformerProblemListener, and ProblemListenerDefault.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.10 |
|
|