Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XSLT/XSLTProcessorEnvSupportDefault.hpp>
Public Member Functions | |
XSLTProcessorEnvSupportDefault (MemoryManager &theManager, XSLTProcessor *theProcessor=0) | |
virtual | ~XSLTProcessorEnvSupportDefault () |
void | setProcessor (XSLTProcessor *theProcessor) |
Reset the XLST processor instance. More... | |
virtual void | installExternalFunctionLocal (const XalanDOMString &theNamespace, const XalanDOMString &functionName, const Function &function) |
Install an external function in the local space. More... | |
virtual void | uninstallExternalFunctionLocal (const XalanDOMString &theNamespace, const XalanDOMString &functionName) |
Uninstall an external function from the local space. More... | |
virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const Locator *locator, const XalanNode *sourceNode) |
Function that is called when a problem event occurs. More... | |
virtual void | problem (eSource source, eClassification classification, const XalanDOMString &msg, const XalanNode *sourceNode) |
Function that is called when a problem event occurs. More... | |
virtual XalanDocument * | parseXML (MemoryManager &theManager, const XalanDOMString &urlString, const XalanDOMString &base, ErrorHandler *theErrorHandler=0) |
Provides support for XML parsing service. More... | |
virtual XalanDocument * | getSourceDocument (const XalanDOMString &theURI) const |
Get the source document for the given URI. More... | |
virtual void | setSourceDocument (const XalanDOMString &theURI, XalanDocument *theDocument) |
Associate a document with a given URI. More... | |
virtual const XalanDOMString & | findURIFromDoc (const XalanDocument *owner) const |
Given a DOM Document, tell what URI was used to parse it. More... | |
virtual bool | elementAvailable (const XalanDOMString &theNamespace, const XalanDOMString &elementName) const |
Determine if an external element is available. More... | |
virtual bool | functionAvailable (const XalanDOMString &theNamespace, const XalanDOMString &functionName) const |
Determine if a function is available. More... | |
virtual XObjectPtr | extFunction (XPathExecutionContext &executionContext, const XalanDOMString &theNamespace, const XalanDOMString &functionName, XalanNode *context, const XObjectArgVectorType &argVec, const Locator *locator) const |
Handle an extension function. More... | |
virtual void | reset () |
Reset the instance. More... | |
XSLTProcessorEnvSupportDefault (const XSLTProcessorEnvSupportDefault &) | |
XSLTProcessorEnvSupportDefault & | operator= (const XSLTProcessorEnvSupportDefault &) |
bool | operator== (const XSLTProcessorEnvSupportDefault &) const |
Public Member Functions inherited from xalanc::XSLTProcessorEnvSupport | |
XSLTProcessorEnvSupport () | |
virtual | ~XSLTProcessorEnvSupport () |
Public Member Functions inherited from xalanc::XPathEnvSupport | |
XPathEnvSupport () | |
virtual | ~XPathEnvSupport () |
Public Member Functions inherited from xalanc::ProblemListenerBase | |
ProblemListenerBase () | |
virtual | ~ProblemListenerBase () |
Static Public Member Functions | |
static void | installExternalFunctionGlobal (const XalanDOMString &theNamespace, const XalanDOMString &functionName, const Function &function) |
Install an external function in the global space. More... | |
static void | uninstallExternalFunctionGlobal (const XalanDOMString &theNamespace, const XalanDOMString &functionName) |
Uninstall an external function from the global space. More... | |
Static Public Member Functions inherited from xalanc::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... | |
Public Attributes | |
XPathEnvSupportDefault | m_defaultSupport |
XSLTProcessor * | m_processor |
Additional Inherited Members | |
Public Types inherited from xalanc::XPathEnvSupport | |
typedef xercesc::Locator | LocatorType |
typedef Function::XObjectArgVectorType | XObjectArgVectorType |
Public Types inherited from xalanc::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 Protected Attributes inherited from xalanc::ProblemListenerBase | |
static const XalanMessages::Codes | s_messageCodes [eSourceCount][eClassificationCount] |
Definition at line 45 of file XSLTProcessorEnvSupportDefault.hpp.
xalanc::XSLTProcessorEnvSupportDefault::XSLTProcessorEnvSupportDefault | ( | MemoryManager & | theManager, |
XSLTProcessor * | theProcessor = 0 |
||
) |
|
virtual |
xalanc::XSLTProcessorEnvSupportDefault::XSLTProcessorEnvSupportDefault | ( | const XSLTProcessorEnvSupportDefault & | ) |
|
virtual |
Determine if an external element is available.
theNamespace | namespace for the element |
elementName | name of extension element |
Implements xalanc::XSLTProcessorEnvSupport.
|
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 xalanc::XSLTProcessorEnvSupport.
|
virtual |
Given a DOM Document, tell what URI was used to parse it.
Needed for relative resolution.
owner | source document |
Implements xalanc::XSLTProcessorEnvSupport.
|
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 xalanc::XSLTProcessorEnvSupport.
|
virtual |
Get the source document for the given URI.
theURI | document URI |
Implements xalanc::XSLTProcessorEnvSupport.
|
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 |
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. |
XSLTProcessorEnvSupportDefault& xalanc::XSLTProcessorEnvSupportDefault::operator= | ( | const XSLTProcessorEnvSupportDefault & | ) |
bool xalanc::XSLTProcessorEnvSupportDefault::operator== | ( | const XSLTProcessorEnvSupportDefault & | ) | const |
|
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 xalanc::XSLTProcessorEnvSupport.
|
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::XSLTProcessorEnvSupport.
|
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::XSLTProcessorEnvSupport.
|
virtual |
Reset the instance.
Implements xalanc::XSLTProcessorEnvSupport.
|
inline |
Reset the XLST processor instance.
theProcessor | pointer to new processor instance |
Definition at line 62 of file XSLTProcessorEnvSupportDefault.hpp.
|
virtual |
Associate a document with a given URI.
theURI | document URI |
theDocument | source document |
Implements xalanc::XSLTProcessorEnvSupport.
|
static |
Uninstall an external function from the global space.
theNamespace | The namespace for the functionl |
functionName | The name of the function. |
|
virtual |
Uninstall an external function from the local space.
theNamespace | The namespace for the functionl |
functionName | The name of the function. |
XPathEnvSupportDefault xalanc::XSLTProcessorEnvSupportDefault::m_defaultSupport |
Definition at line 189 of file XSLTProcessorEnvSupportDefault.hpp.
XSLTProcessor* xalanc::XSLTProcessorEnvSupportDefault::m_processor |
Definition at line 191 of file XSLTProcessorEnvSupportDefault.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:41 for Xalan-C++ API Reference by 1.8.17