XSLTProcessorEnvSupportDefault::XSLTProcessorEnvSupportDefault | ( | MemoryManagerType & | theManager, | |
XSLTProcessor * | theProcessor = 0 | |||
) |
virtual XSLTProcessorEnvSupportDefault::~XSLTProcessorEnvSupportDefault | ( | ) | [virtual] |
XSLTProcessorEnvSupportDefault::XSLTProcessorEnvSupportDefault | ( | const XSLTProcessorEnvSupportDefault & | ) |
void XSLTProcessorEnvSupportDefault::setProcessor | ( | XSLTProcessor * | theProcessor | ) |
Reset the XLST processor instance.
theProcessor | pointer to new processor instance |
static void XSLTProcessorEnvSupportDefault::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. |
static void XSLTProcessorEnvSupportDefault::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 XSLTProcessorEnvSupportDefault::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 void XSLTProcessorEnvSupportDefault::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. |
virtual bool XSLTProcessorEnvSupportDefault::problem | ( | eSource | where, | |
eClassification | classification, | |||
const XalanNode * | sourceNode, | |||
const ElemTemplateElement * | styleNode, | |||
const XalanDOMString & | msg, | |||
const XalanDOMChar * | uri, | |||
int | lineNo, | |||
int | charOffset | |||
) | const [virtual] |
Function that is called when a problem event occurs.
where | either eXMLParser, eXSLTProcessor, eXPATHParser, eXPATHProcessor, or eDataSource. | |
classification | either eWarning, or eError | |
resolver | resolver for namespace resolution | |
sourceNode | source tree node where the problem occurred (may be 0) | |
styleNode | stylesheet node where the problem occurred (may be 0) | |
msg | string message explaining the problem. | |
uri | the URI of the stylesheet, if available. May be 0; | |
lineNo | line number where the problem occurred. | |
charOffset | character offset where the problem. |
Implements XSLTProcessorEnvSupport.
virtual XalanDocument* XSLTProcessorEnvSupportDefault::parseXML | ( | MemoryManagerType & | theManager, | |
const XalanDOMString & | urlString, | |||
const XalanDOMString & | base | |||
) | [virtual] |
Provides support for XML parsing service.
urlString | location of the XML | |
base | base location for URI |
Implements XSLTProcessorEnvSupport.
virtual XalanDocument* XSLTProcessorEnvSupportDefault::getSourceDocument | ( | const XalanDOMString & | theURI | ) | const [virtual] |
Get the source document for the given URI.
theURI | document URI |
Implements XSLTProcessorEnvSupport.
virtual void XSLTProcessorEnvSupportDefault::setSourceDocument | ( | const XalanDOMString & | theURI, | |
XalanDocument * | theDocument | |||
) | [virtual] |
Associate a document with a given URI.
theURI | document URI | |
theDocument | source document |
Implements XSLTProcessorEnvSupport.
virtual const XalanDOMString& XSLTProcessorEnvSupportDefault::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 XSLTProcessorEnvSupport.
virtual bool XSLTProcessorEnvSupportDefault::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 XSLTProcessorEnvSupport.
virtual bool XSLTProcessorEnvSupportDefault::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 XSLTProcessorEnvSupport.
virtual XObjectPtr XSLTProcessorEnvSupportDefault::extFunction | ( | XPathExecutionContext & | executionContext, | |
const XalanDOMString & | theNamespace, | |||
const XalanDOMString & | functionName, | |||
XalanNode * | context, | |||
const XObjectArgVectorType & | argVec, | |||
const LocatorType * | 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 LocatorType instance for error reporting. |
Implements XSLTProcessorEnvSupport.
virtual bool XSLTProcessorEnvSupportDefault::problem | ( | eSource | where, | |
eClassification | classification, | |||
const PrefixResolver * | resolver, | |||
const XalanNode * | sourceNode, | |||
const XalanDOMString & | msg, | |||
const XalanDOMChar * | uri, | |||
int | lineNo, | |||
int | charOffset | |||
) | const [virtual] |
Function that is called when a problem event occurs.
where | either eXMLParser, eXSLTProcessor, eXPATHParser, eXPATHProcessor, or eDataSource. | |
classification | either eWarning, or eError | |
resolver | resolver for namespace resolution | |
sourceNode | source tree node where the problem occurred (may be 0) | |
msg | string message explaining the problem. | |
uri | the URI of the stylesheet, if available. May be 0; | |
lineNo | line number where the problem occurred. | |
charOffset | character offset where the problem. |
Implements XSLTProcessorEnvSupport.
virtual void XSLTProcessorEnvSupportDefault::reset | ( | ) | [virtual] |
XSLTProcessorEnvSupportDefault& XSLTProcessorEnvSupportDefault::operator= | ( | const XSLTProcessorEnvSupportDefault & | ) |
bool XSLTProcessorEnvSupportDefault::operator== | ( | const XSLTProcessorEnvSupportDefault & | ) | const |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSLT Processor Version 1.10 |
|