Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Member Functions | Protected Attributes

ExecutionContext Class Reference

#include <ExecutionContext.hpp>

Inherits ProblemListenerBase.

Inherited by XPathExecutionContext.

Collaboration diagram for ExecutionContext:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Protected Attributes


Detailed Description

Definition at line 57 of file ExecutionContext.hpp.


Constructor & Destructor Documentation

ExecutionContext::ExecutionContext ( MemoryManager &  theMemoryManager  ) 
virtual ExecutionContext::~ExecutionContext (  )  [virtual]

Member Function Documentation

MemoryManager& ExecutionContext::getExceptionMemoryManager (  )  const [inline]

Definition at line 106 of file ExecutionContext.hpp.

MemoryManager& ExecutionContext::getMemoryManager (  )  const [inline]

Definition at line 100 of file ExecutionContext.hpp.

bool ExecutionContext::hasPreserveOrStripSpaceConditions (  )  const [inline]

Definition at line 84 of file ExecutionContext.hpp.

virtual void ExecutionContext::problem ( eSource  source,
eClassification  classification,
const XalanDOMString msg,
const XalanNode sourceNode 
) [pure 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 ProblemListenerBase.

Implemented in StylesheetExecutionContext, StylesheetExecutionContextDefault, XPathExecutionContext, and XPathExecutionContextDefault.

virtual void ExecutionContext::problem ( eSource  source,
eClassification  classification,
const XalanDOMString msg,
const Locator *  locator,
const XalanNode sourceNode 
) [pure 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 ProblemListenerBase.

Implemented in StylesheetExecutionContext, StylesheetExecutionContextDefault, XPathExecutionContext, and XPathExecutionContextDefault.

virtual bool ExecutionContext::shouldStripSourceNode ( const XalanText node  )  [pure virtual]

Determine if a text node should be stripped from the source tree, as if it weren't there.

Parameters:
textNode text node from the source tree
Returns:
true if the text node should be stripped

Implemented in StylesheetExecutionContext, StylesheetExecutionContextDefault, XPathExecutionContext, and XPathExecutionContextDefault.


Member Data Documentation

Definition at line 115 of file ExecutionContext.hpp.

MemoryManager& ExecutionContext::m_memoryManager [protected]

Definition at line 113 of file ExecutionContext.hpp.


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