org.basex.query.xquery.func
Class FNIndex
java.lang.Object
org.basex.util.Set
org.basex.query.xquery.func.FNIndex
public final class FNIndex
- extends Set
Global expression context.
- Author:
- Workgroup DBIS, University of Konstanz 2005-07, ISC License, Christian Gruen
| Fields inherited from class org.basex.util.Set |
size |
|
Method Summary |
void |
error(byte[] name)
Finds similar function names for throwing an error message. |
static FNIndex |
get()
Gets the function instance. |
Fun |
get(byte[] name,
Expr[] args)
Returns the specified function. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
error
public void error(byte[] name)
throws XQException
- Finds similar function names for throwing an error message.
- Parameters:
name - function name
- Throws:
XQException - evaluation exception
get
public static FNIndex get()
- Gets the function instance.
- Returns:
- instance
get
public Fun get(byte[] name,
Expr[] args)
throws XQException
- Returns the specified function.
- Parameters:
name - name of the functionargs - optional arguments
- Returns:
- function instance
- Throws:
XQException - evaluation exception