#include <XPathEnvSupport.hpp>
Inherits ProblemListenerBase.
Inherited by XPathEnvSupportDefault, and XSLTProcessorEnvSupport.
Definition at line 57 of file XPathEnvSupport.hpp.
typedef XERCES_CPP_NAMESPACE_QUALIFIER Locator XPathEnvSupport::LocatorType |
Definition at line 61 of file XPathEnvSupport.hpp.
Definition at line 63 of file XPathEnvSupport.hpp.
XPathEnvSupport::XPathEnvSupport | ( | ) |
virtual XPathEnvSupport::~XPathEnvSupport | ( | ) | [virtual] |
virtual bool XPathEnvSupport::elementAvailable | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | elementName | |||
) | const [pure virtual] |
Determine if an external element is available.
theNamespace | namespace for the element | |
elementName | name of extension element |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual XObjectPtr XPathEnvSupport::extFunction | ( | XPathExecutionContext & | executionContext, | |
const XalanDOMString & | theNamespace, | |||
const XalanDOMString & | functionName, | |||
XalanNode * | context, | |||
const XObjectArgVectorType & | argVec, | |||
const Locator * | locator | |||
) | const [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. |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual const XalanDOMString& XPathEnvSupport::findURIFromDoc | ( | const XalanDocument * | owner | ) | const [pure virtual] |
Given a DOM Document, tell what URI was used to parse it.
Needed for relative resolution.
owner | source document |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual bool XPathEnvSupport::functionAvailable | ( | const XalanDOMString & | theNamespace, | |
const XalanDOMString & | functionName | |||
) | const [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 |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual XalanDocument* XPathEnvSupport::getSourceDocument | ( | const XalanDOMString & | theURI | ) | const [pure virtual] |
Get the source document for the given URI.
theURI | document URI |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual XalanDocument* XPathEnvSupport::parseXML | ( | MemoryManager & | theManager, | |
const XalanDOMString & | urlString, | |||
const XalanDOMString & | base, | |||
ErrorHandler * | theErrorHandler = 0 | |||
) | [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. |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual void XPathEnvSupport::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.
source | either eXMLPARSER, eXSLPROCESSOR, or eXPATH | |
classification | either eMESSAGE, eERROR or eWARNING | |
msg | string message explaining the problem. |
Implements ProblemListenerBase.
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual void XPathEnvSupport::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.
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 XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual void XPathEnvSupport::reset | ( | ) | [pure virtual] |
Reset the instance.
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
virtual void XPathEnvSupport::setSourceDocument | ( | const XalanDOMString & | theURI, | |
XalanDocument * | theDocument | |||
) | [pure virtual] |
Associate a document with a given URI.
theURI | document URI | |
theDocument | source document |
Implemented in XSLTProcessorEnvSupport, XSLTProcessorEnvSupportDefault, and XPathEnvSupportDefault.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|