|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
XQuery Evaluation Context (internal use).
Field Summary | |
static int |
DOUBLE_REGISTER
|
static int |
INT_REGISTER
|
static int |
ITEM_REGISTER
|
static int |
LAST_REGISTER
|
static int |
MAX_REGISTER
|
static int |
STRING_REGISTER
|
Method Summary | |
void |
at(net.axyana.qizxopen.xquery.op.Expression pt)
Notes the current evaluation point for trace & debug. |
XQValue |
error(net.axyana.qizxopen.xquery.op.Expression location,
java.lang.String error)
|
XQValue |
error(net.axyana.qizxopen.xquery.op.Expression location,
XQEvalException error)
Raises a runtime error that is located at this Expression. |
XQValue |
evalPath(net.axyana.qizxopen.xquery.op.PathExpr path,
Focus focus)
|
EvalContext |
getCallerContext()
Returns the calling context, null if not inside a user function. |
java.text.Collator |
getCollator(java.lang.String uri)
Finds a collation by its URI. |
java.util.Date |
getCurrentDate()
Time at start of query evaluation. |
net.axyana.qizxopen.xquery.op.Expression |
getCurrentLocation()
|
XQValue |
getDocument(java.lang.String uri)
Finds a document by URI. |
DocumentManager |
getDocumentManager()
Returns the document manager used by this context. |
int |
getImplicitTimezone()
implicit time zone as a difference in minutes from GMT (or UTC). |
XQValue |
getInput()
Returns the document or collection input. |
XQModuleManager |
getModuleManager()
Returns the Module Manager which was used for compiling the expression being executed. |
java.lang.Object |
getProperty(java.lang.String name)
Retrieves a named property from the context. |
java.lang.String |
getSignature()
|
StaticContext |
getStaticContext()
Returns the initial static context. |
XQValue |
loadGlobal(net.axyana.qizxopen.xquery.op.GlobalVariable var)
|
XQValue |
loadLocal(int address)
|
double |
loadLocalDouble(int address)
|
long |
loadLocalInteger(int address)
|
XQItem |
loadLocalItem(int address)
|
java.lang.String |
loadLocalString(int address)
|
void |
message(int type,
net.axyana.qizxopen.xquery.op.Expression location,
java.lang.String text)
|
void |
messages(XQMessage list)
|
net.axyana.qizxopen.xquery.impl.XQueryExprImpl |
newExpression()
Returns an expression prepared with the same settings and static context as this context. |
void |
storeLocal(int address,
net.axyana.qizxopen.xquery.op.Expression expr,
XQType dynamicType,
Focus focus,
EvalContext calling)
|
void |
storeLocal(int address,
XQValue value,
boolean current)
|
void |
storeLocalInteger(int address,
long value)
|
EvalContext |
subContext(net.axyana.qizxopen.xquery.fn.UserFunction.Call called)
Helper creating a context for the called function. |
Methods inherited from interface net.axyana.qizxopen.dm.FONIDataModel.Factory |
makeDataModel |
Field Detail |
public static final int MAX_REGISTER
public static final int INT_REGISTER
public static final int DOUBLE_REGISTER
public static final int STRING_REGISTER
public static final int ITEM_REGISTER
public static final int LAST_REGISTER
Method Detail |
public StaticContext getStaticContext()
public EvalContext getCallerContext()
public EvalContext subContext(net.axyana.qizxopen.xquery.fn.UserFunction.Call called) throws XQEvalException
XQEvalException
public XQModuleManager getModuleManager()
public net.axyana.qizxopen.xquery.impl.XQueryExprImpl newExpression()
public void at(net.axyana.qizxopen.xquery.op.Expression pt) throws XQueryException
XQueryException
public XQValue getInput()
public XQValue getDocument(java.lang.String uri) throws XQueryException
XQueryException
public DocumentManager getDocumentManager()
public XQValue evalPath(net.axyana.qizxopen.xquery.op.PathExpr path, Focus focus) throws XQueryException
XQueryException
public java.lang.Object getProperty(java.lang.String name)
public java.text.Collator getCollator(java.lang.String uri) throws XQueryException
uri
- collation URI. If null, the default collation is returned.
XQueryException
public java.util.Date getCurrentDate()
public int getImplicitTimezone()
public XQValue error(net.axyana.qizxopen.xquery.op.Expression location, XQEvalException error) throws XQEvalException
XQEvalException
public XQValue error(net.axyana.qizxopen.xquery.op.Expression location, java.lang.String error) throws XQEvalException
XQEvalException
public void message(int type, net.axyana.qizxopen.xquery.op.Expression location, java.lang.String text)
public void messages(XQMessage list)
public net.axyana.qizxopen.xquery.op.Expression getCurrentLocation()
public java.lang.String getSignature()
public XQValue loadGlobal(net.axyana.qizxopen.xquery.op.GlobalVariable var) throws XQueryException
XQueryException
public XQValue loadLocal(int address) throws XQueryException
XQueryException
public long loadLocalInteger(int address) throws XQueryException
XQueryException
public double loadLocalDouble(int address) throws XQueryException
XQueryException
public java.lang.String loadLocalString(int address) throws XQueryException
XQueryException
public XQItem loadLocalItem(int address) throws XQueryException
XQueryException
public void storeLocal(int address, net.axyana.qizxopen.xquery.op.Expression expr, XQType dynamicType, Focus focus, EvalContext calling) throws XQueryException
XQueryException
public void storeLocal(int address, XQValue value, boolean current) throws XQueryException
XQueryException
public void storeLocalInteger(int address, long value)
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |