Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XalanTransformer/XalanTransformerProblemListener.hpp>
Public Types | |
typedef std::ostream | StreamType |
![]() | |
typedef eSource | eProblemSource |
![]() | |
enum | eSource { eXMLPARSER = 0 , eXMLParser = 0 , eXSLPROCESSOR = 1 , eXSLTProcessor = 1 , eXPATH = 2 , eXPath = 2 , eSourceCount } |
enum | eClassification { eMESSAGE = 0 , eMessage = 0 , eWARNING = 1 , eWarning = 1 , eERROR = 2 , eError = 2 , eClassificationCount } |
typedef eSource | eProblemSource |
Additional Inherited Members | |
![]() | |
static void | defaultFormat (PrintWriter &pw, eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode) |
Function to format a problem call to a PrintWriter instance. | |
static void | defaultFormat (PrintWriter &pw, eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode) |
Function to format a problem call to a PrintWriter instance. | |
![]() | |
static const XalanMessages::Codes | s_messageCodes [eSourceCount][eClassificationCount] |
Definition at line 46 of file XalanTransformerProblemListener.hpp.
Definition at line 50 of file XalanTransformerProblemListener.hpp.
xalanc::XalanTransformerProblemListener::XalanTransformerProblemListener | ( | MemoryManager & | theManager, |
StreamType * | theStream, | ||
PrintWriter * | thePrintWriter | ||
) |
|
virtual |
|
virtual |
Function that is called when a problem event occurs.
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 xalanc::ProblemListener.
|
virtual |
Function that is called when a problem event occurs.
This version assumes location information is already formatted into the message.
source | either eXMLPARSER, eXSLPROCESSOR, or eXPATH |
classification | either eMESSAGE, eERROR or eWARNING |
msg | string message explaining the problem. |
Implements xalanc::ProblemListener.
|
virtual |
Function that is called when a problem event occurs.
This function is deprecated. Use the overload with the Locator parameter instead.
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 xalanc::ProblemListener.
|
virtual |
Implements xalanc::ProblemListener.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Tue Oct 10 2023 15:42:19 for Xalan-C++ API Reference by