|
| XPathEnvSupport () |
|
virtual | ~XPathEnvSupport () |
|
virtual XalanDocument * | parseXML (MemoryManagerType &theManager, const XalanDOMString &urlString, const XalanDOMString &base)=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 LocatorType *locator) const =0 |
| 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 =0 |
| Function that is called when a problem event occurs. More...
|
|
virtual void | reset ()=0 |
| Reset the instance. More...
|
|
Enumerator |
---|
eMessage |
|
eWarning |
|
eError |
|
Enumerator |
---|
eXMLParser |
|
eXSLTProcessor |
|
eXPATHParser |
|
eXPATHProcessor |
|
eDataSource |
|
XPathEnvSupport::XPathEnvSupport |
( |
| ) |
|
virtual XPathEnvSupport::~XPathEnvSupport |
( |
| ) |
|
|
virtual |
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.
Implemented in XPathEnvSupportDefault, XSLTProcessorEnvSupportDefault, and XSLTProcessorEnvSupport.
virtual void XPathEnvSupport::reset |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: