Dummy class in order to make the XPath object happy for diagnostic purposes.
More...
|
| | XPathEnvSupportDefault (MemoryManagerType &theManager XALAN_DEFAULT_MEMMGR) |
| |
| virtual | ~XPathEnvSupportDefault () |
| |
| MemoryManagerType & | getMemoryManager () |
| |
| 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 XalanDocument * | parseXML (MemoryManagerType &theManager, const XalanDOMString &urlString, const XalanDOMString &base) |
| | 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 LocatorType *locator) const |
| | Handle an extension function. More...
|
| |
| virtual bool | problem (eSource where, eClassification classification, const PrefixResolver *resolver, const XalanNode *sourceNode, const XalanDOMString &msg, const XalanDOMChar *uri, int lineNo, int charOffset) const |
| | Function that is called when a problem event occurs. More...
|
| |
| virtual void | reset () |
| | Reset the instance. More...
|
| |
| | XPathEnvSupport () |
| |
| virtual | ~XPathEnvSupport () |
| |
Dummy class in order to make the XPath object happy for diagnostic purposes.
- Author
- David N. Bertoni
| XPathEnvSupportDefault::XPathEnvSupportDefault |
( |
MemoryManagerType &theManager |
XALAN_DEFAULT_MEMMGR | ) |
|
| virtual XPathEnvSupportDefault::~XPathEnvSupportDefault |
( |
| ) |
|
|
virtual |
Determine if an external element is available.
- Parameters
-
| theNamespace | namespace for the element |
| elementName | name of extension element |
- Returns
- whether the element is available or not
Implements XPathEnvSupport.
Handle an extension function.
- Parameters
-
| 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. |
- Returns
- pointer to XObject result
Implements XPathEnvSupport.
Find an external function.
- Parameters
-
| theNamespace | The namespace for the function. |
| functionName | The name of the function. |
- Returns
- a pointer to the function if found, or 0 if not found.
Given a DOM Document, tell what URI was used to parse it.
Needed for relative resolution.
- Parameters
-
- Returns
- document URI
Implements XPathEnvSupport.
Determine if a function is available.
For standard function availability, theNamespace should be an empty string.
- Parameters
-
| theNamespace | namespace for the function |
| functionName | name of the function |
- Returns
- whether the function is available or not
Implements XPathEnvSupport.
Get the source document for the given URI.
- Parameters
-
- Returns
- source document
Implements XPathEnvSupport.
Perform initialization of statics – must be called before any processing occurs.
See class XPathInit.
Install an external function in the global space.
- Parameters
-
| theNamespace | The namespace for the functionl |
| functionName | The name of the function. |
| function | The function to install. |
Install an external function in the local space.
- Parameters
-
| theNamespace | The namespace for the functionl |
| functionName | The name of the function. |
| function | The function to install. |
Provides support for XML parsing service.
- Parameters
-
| urlString | location of the XML |
| base | base location for URI |
- Returns
- parsed document
Implements XPathEnvSupport.
Function that is called when a problem event occurs.
- Parameters
-
| 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. |
- Returns
- true if the return is an ERROR, in which case exception will be thrown. Otherwise the processor will continue to process.
Implements XPathEnvSupport.
| virtual void XPathEnvSupportDefault::reset |
( |
| ) |
|
|
virtual |
Associate a document with a given URI.
- Parameters
-
| 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.
- Parameters
-
| 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.
- Parameters
-
| theNamespace | The namespace for the functionl |
| functionName | The name of the function. |
The documentation for this class was generated from the following file: