#include <ExecutionContext.hpp>
Inherits ProblemListenerBase.
Inherited by XPathExecutionContext.
Public Member Functions | |
| ExecutionContext (MemoryManager &theMemoryManager) | |
| virtual | ~ExecutionContext () |
| virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode)=0 |
| Function that is called when a problem event occurs. More... | |
| virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode)=0 |
| Function that is called when a problem event occurs. More... | |
| bool | hasPreserveOrStripSpaceConditions () const |
| virtual bool | shouldStripSourceNode (const XalanText &node)=0 |
| Determine if a text node should be stripped from the source tree, as if it weren't there. More... | |
| MemoryManager & | getMemoryManager () const |
| MemoryManager & | getExceptionMemoryManager () const |
Public Member Functions inherited from ProblemListenerBase | |
| ProblemListenerBase () | |
| virtual | ~ProblemListenerBase () |
Protected Attributes | |
| MemoryManager & | m_memoryManager |
| bool | m_hasPreserveOrStripConditions |
Additional Inherited Members | |
Public Types inherited from ProblemListenerBase | |
| 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 |
Static Public Member Functions inherited from ProblemListenerBase | |
| 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. More... | |
| 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. More... | |
Static Protected Attributes inherited from ProblemListenerBase | |
| static const XalanMessages::Codes | s_messageCodes [eSourceCount][eClassificationCount] |
Definition at line 57 of file ExecutionContext.hpp.
| ExecutionContext::ExecutionContext | ( | MemoryManager & | theMemoryManager | ) |
|
virtual |
|
inline |
Definition at line 106 of file ExecutionContext.hpp.
|
inline |
Definition at line 100 of file ExecutionContext.hpp.
|
inline |
Definition at line 84 of file ExecutionContext.hpp.
|
pure 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 ProblemListenerBase.
Implemented in StylesheetExecutionContext, XPathExecutionContext, StylesheetExecutionContextDefault, and XPathExecutionContextDefault.
|
pure 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 ProblemListenerBase.
Implemented in StylesheetExecutionContext, XPathExecutionContext, StylesheetExecutionContextDefault, and XPathExecutionContextDefault.
|
pure virtual |
Determine if a text node should be stripped from the source tree, as if it weren't there.
| textNode | text node from the source tree |
Implemented in StylesheetExecutionContext, XPathExecutionContext, StylesheetExecutionContextDefault, and XPathExecutionContextDefault.
|
protected |
Definition at line 115 of file ExecutionContext.hpp.
|
protected |
Definition at line 113 of file ExecutionContext.hpp.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.11 |
|
|