|
||||||||
| 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 |
HTTP_SESSIONVAR_XMLDB_USER, XQUERY_CONTEXTVAR_XQUERY_UPDATE_ERROR, XQUERY_LOCAL_NS |
| Constructor Summary | |
ModuleContext(XQueryContext parentContext)
|
|
| Method Summary | |
AnyURIValue |
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()
|
DocumentSet |
getStaticallyKnownDocuments()
|
XQueryWatchDog |
getWatchDog()
|
java.lang.Object |
getXQueryContextVar(java.lang.String name)
Delegate to parent context |
void |
popDocumentContext()
|
void |
pushDocumentContext()
Push any document fragment created within the current execution context on the stack. |
void |
registerUpdateListener(UpdateListener listener)
|
void |
setBaseURI(AnyURIValue uri)
Set the base URI for the evaluation context. |
void |
setXQueryContextVar(java.lang.String name,
java.lang.Object XQvar)
Delegate to parent context |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ModuleContext(XQueryContext parentContext)
parentContext - | Method Detail |
public DocumentSet getStaticallyKnownDocuments()
throws XPathException
getStaticallyKnownDocuments in class XQueryContextXPathExceptionpublic Module getModule(java.lang.String namespaceURI)
XQueryContext
getModule in class XQueryContextnamespaceURI -
public java.util.Iterator getModules()
getModules in class XQueryContextpublic XQueryWatchDog getWatchDog()
getWatchDog in class XQueryContextpublic AnyURIValue getBaseURI()
XQueryContext
getBaseURI in class XQueryContextpublic void setBaseURI(AnyURIValue uri)
XQueryContext
setBaseURI in class XQueryContexturi -
public void setXQueryContextVar(java.lang.String name,
java.lang.Object XQvar)
setXQueryContextVar in class XQueryContextname - The variable nameXQvar - The variable value, may be of any xs: typeXQueryContext.setXQueryContextVar(String, Object)public java.lang.Object getXQueryContextVar(java.lang.String name)
getXQueryContextVar in class XQueryContextname - The variable name
XQueryContext.getXQueryContextVar(String)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 XQueryContext
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||