|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exist.xquery.XQueryContext
org.exist.xquery.ModuleContext
Subclass of XQueryContext for
imported modules.
| Field Summary |
| Fields inherited from class org.exist.xquery.XQueryContext |
baseURI, baseURISetInProlog, broker, contextStack, declaredFunctions, defaultFunctionNamespace, forwardReferences, globalVariables, inScopeNamespaces, inScopePrefixes, lastVar, moduleLoadPath, modules, namespaces, namespaceStack, pragmas, prefixes, staticDocumentPaths, staticDocuments, variableStackSize, watchdog, XQUERY_LOCAL_NS |
| Constructor Summary | |
ModuleContext(XQueryContext parentContext)
|
|
| Method Summary | |
protected void |
clearUpdateListeners()
|
java.lang.String |
getBaseURI()
Get the base URI of the evaluation context. |
DBBroker |
getBroker()
Get the DBBroker instance used for the current query. |
MemTreeBuilder |
getDocumentBuilder()
Get the document builder currently used for creating temporary document fragments. |
Module |
getModule(java.lang.String namespaceURI)
Get the built-in module registered for the given namespace URI. |
java.util.Iterator |
getModules()
Return an iterator over all built-in modules currently registered. |
DocumentSet |
getStaticallyKnownDocuments()
Get the set of statically known documents. |
XQueryWatchDog |
getWatchDog()
|
void |
popDocumentContext()
|
void |
pushDocumentContext()
Push any document fragment created within the current execution context on the stack. |
void |
registerUpdateListener(UpdateListener listener)
|
void |
setBaseURI(java.lang.String uri)
Set the base URI for the evaluation context. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModuleContext(XQueryContext parentContext)
| Method Detail |
public DocumentSet getStaticallyKnownDocuments()
throws XPathException
XQueryContext
getStaticallyKnownDocuments in class XQueryContextXPathExceptionpublic Module getModule(java.lang.String namespaceURI)
XQueryContext
getModule in class XQueryContextnamespaceURI -
public java.util.Iterator getModules()
XQueryContext
getModules in class XQueryContextpublic XQueryWatchDog getWatchDog()
getWatchDog in class XQueryContextpublic java.lang.String getBaseURI()
XQueryContext
getBaseURI in class XQueryContextpublic void setBaseURI(java.lang.String uri)
XQueryContext
setBaseURI in class XQueryContexturi - public DBBroker getBroker()
XQueryContext
getBroker in class XQueryContextpublic MemTreeBuilder getDocumentBuilder()
XQueryContext
getDocumentBuilder in class XQueryContextpublic void pushDocumentContext()
XQueryContext
pushDocumentContext in class XQueryContextpublic void popDocumentContext()
popDocumentContext in class XQueryContextpublic void registerUpdateListener(UpdateListener listener)
registerUpdateListener in class XQueryContextprotected void clearUpdateListeners()
clearUpdateListeners in class XQueryContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||