|
||||||||
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 XQueryContext
XPathException
public Module getModule(java.lang.String namespaceURI)
XQueryContext
getModule
in class XQueryContext
namespaceURI
-
public java.util.Iterator getModules()
getModules
in class XQueryContext
public XQueryWatchDog getWatchDog()
getWatchDog
in class XQueryContext
public AnyURIValue getBaseURI()
XQueryContext
getBaseURI
in class XQueryContext
public void setBaseURI(AnyURIValue uri)
XQueryContext
setBaseURI
in class XQueryContext
uri
- public void setXQueryContextVar(java.lang.String name, java.lang.Object XQvar)
setXQueryContextVar
in class XQueryContext
name
- 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 XQueryContext
name
- The variable name
XQueryContext.getXQueryContextVar(String)
public DBBroker getBroker()
XQueryContext
getBroker
in class XQueryContext
public MemTreeBuilder getDocumentBuilder()
XQueryContext
getDocumentBuilder
in class XQueryContext
public void pushDocumentContext()
XQueryContext
pushDocumentContext
in class XQueryContext
public void popDocumentContext()
popDocumentContext
in class XQueryContext
public void registerUpdateListener(UpdateListener listener)
registerUpdateListener
in class XQueryContext
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |