Xalan-C++ API Reference
1.12.0
|
#include <xalanc/XSLT/XSLTProcessorEnvSupport.hpp>
Public Member Functions | |
XSLTProcessorEnvSupport () | |
virtual | ~XSLTProcessorEnvSupport () |
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... | |
virtual XalanDocument * | parseXML (MemoryManager &theManager, const XalanDOMString &urlString, const XalanDOMString &base, ErrorHandler *theErrorHandler=0)=0 |
Provides support for XML parsing service. More... | |
virtual XalanDocument * | getSourceDocument (const XalanDOMString &theURI) const =0 |
Get the source document for the given URI. More... | |
virtual void | setSourceDocument (const XalanDOMString &theURI, XalanDocument *theDocument)=0 |
Associate a document with a given URI. More... | |
virtual const XalanDOMString & | findURIFromDoc (const XalanDocument *owner) const =0 |
Given a DOM Document, tell what URI was used to parse it. More... | |
virtual bool | elementAvailable (const XalanDOMString &theNamespace, const XalanDOMString &elementName) const =0 |
Determine if an external element is available. More... | |
virtual bool | functionAvailable (const XalanDOMString &theNamespace, const XalanDOMString &functionName) const =0 |
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 =0 |
Handle an extension function. More... | |
virtual void | reset ()=0 |
Reset the instance. More... | |
Public Member Functions inherited from xalanc::XPathEnvSupport | |
XPathEnvSupport () | |
virtual | ~XPathEnvSupport () |
Public Member Functions inherited from xalanc::ProblemListenerBase | |
ProblemListenerBase () | |
virtual | ~ProblemListenerBase () |
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 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... | |
Static Protected Attributes inherited from xalanc::ProblemListenerBase | |
static const XalanMessages::Codes | s_messageCodes [eSourceCount][eClassificationCount] |
Definition at line 42 of file XSLTProcessorEnvSupport.hpp.
xalanc::XSLTProcessorEnvSupport::XSLTProcessorEnvSupport | ( | ) |
|
virtual |
|
pure virtual |
Determine if an external element is available.
theNamespace | namespace for the element |
elementName | name of extension element |
Implements xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure 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::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure virtual |
Given a DOM Document, tell what URI was used to parse it.
Needed for relative resolution.
owner | source document |
Implements xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure 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::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure virtual |
Get the source document for the given URI.
theURI | document URI |
Implements xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure 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::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
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 xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
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 xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure virtual |
Reset the instance.
Implements xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
|
pure virtual |
Associate a document with a given URI.
theURI | document URI |
theDocument | source document |
Implements xalanc::XPathEnvSupport.
Implemented in xalanc::XSLTProcessorEnvSupportDefault.
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