#include <XPathEnvSupportDefault.hpp>
Inherits XPathEnvSupport.
Definition at line 46 of file XPathEnvSupportDefault.hpp.
Definition at line 51 of file XPathEnvSupportDefault.hpp.
typedef XalanMap<XalanDOMString, FunctionTableType> XPathEnvSupportDefault::NamespaceFunctionTablesType |
Definition at line 52 of file XPathEnvSupportDefault.hpp.
Definition at line 50 of file XPathEnvSupportDefault.hpp.
XPathEnvSupportDefault::XPathEnvSupportDefault | ( | MemoryManager & | theManager = XalanMemMgrs::getDefaultXercesMemMgr() |
) |
virtual XPathEnvSupportDefault::~XPathEnvSupportDefault | ( | ) | [virtual] |
virtual bool XPathEnvSupportDefault::elementAvailable | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | elementName | |||
) | const [virtual] |
Determine if an external element is available.
theNamespace | namespace for the element | |
elementName | name of extension element |
Implements XPathEnvSupport.
virtual XObjectPtr XPathEnvSupportDefault::extFunction | ( | XPathExecutionContext & | executionContext, | |
const XalanDOMString & | theNamespace, | |||
const XalanDOMString & | functionName, | |||
XalanNode * | context, | |||
const XObjectArgVectorType & | argVec, | |||
const Locator * | locator | |||
) | const [virtual] |
Handle an extension function.
executionContext | current execution context | |
theNamespace | namespace of function | |
functionName | extension function name | |
argVec | vector of arguments to function | |
locator | A Locator instance for error reporting. |
Implements XPathEnvSupport.
const Function* XPathEnvSupportDefault::findFunction | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName | |||
) | const [protected] |
Find an external function.
theNamespace | The namespace for the function. | |
functionName | The name of the function. |
virtual const XalanDOMString& XPathEnvSupportDefault::findURIFromDoc | ( | const XalanDocument * | owner | ) | const [virtual] |
Given a DOM Document, tell what URI was used to parse it.
Needed for relative resolution.
owner | source document |
Implements XPathEnvSupport.
virtual bool XPathEnvSupportDefault::functionAvailable | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName | |||
) | const [virtual] |
Determine if a function is available.
For standard function availability, theNamespace should be an empty string.
theNamespace | namespace for the function | |
functionName | name of the function |
Implements XPathEnvSupport.
MemoryManager& XPathEnvSupportDefault::getMemoryManager | ( | ) | const [inline] |
Definition at line 74 of file XPathEnvSupportDefault.hpp.
virtual XalanDocument* XPathEnvSupportDefault::getSourceDocument | ( | const XalanDOMString & | theURI | ) | const [virtual] |
Get the source document for the given URI.
theURI | document URI |
Implements XPathEnvSupport.
static void XPathEnvSupportDefault::initialize | ( | MemoryManager & | theManager | ) | [static] |
Perform initialization of statics -- must be called before any processing occurs.
See class XPathInit.
static void XPathEnvSupportDefault::installExternalFunctionGlobal | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName, | |||
const Function & | function | |||
) | [static] |
Install an external function in the global space.
theNamespace | The namespace for the functionl | |
functionName | The name of the function. | |
function | The function to install. |
virtual void XPathEnvSupportDefault::installExternalFunctionLocal | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName, | |||
const Function & | function | |||
) | [virtual] |
Install an external function in the local space.
theNamespace | The namespace for the functionl | |
functionName | The name of the function. | |
function | The function to install. |
virtual XalanDocument* XPathEnvSupportDefault::parseXML | ( | MemoryManager & | theManager, | |
const XalanDOMString & | urlString, | |||
const XalanDOMString & | base, | |||
ErrorHandler * | theErrorHandler = 0 | |||
) | [virtual] |
Provides support for XML parsing service.
theManager | The MemoryManager instance to use. | |
urlString | location of the XML | |
base | base location for URI | |
theErrorHandler | An optional ErrorHandler instance for error reporting. |
Implements XPathEnvSupport.
virtual void XPathEnvSupportDefault::problem | ( | eSource | source, | |
eClassification | classification, | |||
const XalanDOMString & | msg, | |||
const Locator * | locator, | |||
const XalanNode * | sourceNode | |||
) | [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 XPathEnvSupport.
virtual void XPathEnvSupportDefault::problem | ( | eSource | source, | |
eClassification | classification, | |||
const XalanDOMString & | msg, | |||
const XalanNode * | sourceNode | |||
) | [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 XPathEnvSupport.
virtual void XPathEnvSupportDefault::reset | ( | ) | [virtual] |
Reset the instance.
Implements XPathEnvSupport.
virtual void XPathEnvSupportDefault::setPrintWriter | ( | PrintWriter * | pw | ) | [virtual] |
virtual void XPathEnvSupportDefault::setSourceDocument | ( | const XalanDOMString & | theURI, | |
XalanDocument * | theDocument | |||
) | [virtual] |
Associate a document with a given URI.
theURI | document URI | |
theDocument | source document |
Implements XPathEnvSupport.
static void XPathEnvSupportDefault::terminate | ( | ) | [static] |
Perform termination of statics.
See class XPathInit.
static void XPathEnvSupportDefault::uninstallExternalFunctionGlobal | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName | |||
) | [static] |
Uninstall an external function from the global space.
theNamespace | The namespace for the functionl | |
functionName | The name of the function. |
virtual void XPathEnvSupportDefault::uninstallExternalFunctionLocal | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName | |||
) | [virtual] |
Uninstall an external function from the local space.
theNamespace | The namespace for the functionl | |
functionName | The name of the function. |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|