|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.basex.query.xquery.util.Functions
public final class Functions
Global expression context.
| Constructor Summary | |
|---|---|
Functions()
|
|
| Method Summary | |
|---|---|
int |
add(XQContext ctx,
Func func)
Adds a local function. |
void |
check()
Checks if all functions have been correctly initialized. |
void |
comp(XQContext ctx)
Compiles the functions. |
void |
error(QNm name)
Finds similar function names for throwing an error message. |
Func |
get(int id)
Returns the function with the specified id. |
Expr |
get(XQContext ctx,
QNm name,
Expr[] args)
Returns the specified function. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Functions()
| Method Detail |
|---|
public int add(XQContext ctx,
Func func)
throws XQException
ctx - query contextfunc - function instance
XQException - evaluation exception
public void check()
throws XQException
XQException - xquery exception
public void comp(XQContext ctx)
throws XQException
ctx - xquery context
XQException - xquery exception
public void error(QNm name)
throws XQException
name - function name
XQException - xquery exceptionpublic Func get(int id)
id - function id
public Expr get(XQContext ctx,
QNm name,
Expr[] args)
throws XQException
ctx - query contextname - name of the functionargs - optional arguments
XQException - evaluation exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||