public abstract class FunctionBase extends Object implements Function
Constructor and Description |
---|
FunctionBase() |
Modifier and Type | Method and Description |
---|---|
void |
build(String uri,
ExprList args)
Called during query plan construction immediately after the
construction of the extension instance.
|
abstract void |
checkBuild(String uri,
ExprList args) |
NodeValue |
exec(Binding binding,
ExprList args,
String uri,
FunctionEnv env)
Test a list of values - argument will not be null but
may have the wrong number of arguments.
|
abstract NodeValue |
exec(List<NodeValue> args)
Function call to a list of evaluated argument values
|
Context |
getContext()
Return the Context object for this execution
|
public final void build(String uri, ExprList args)
Function
public NodeValue exec(Binding binding, ExprList args, String uri, FunctionEnv env)
Function
public Context getContext()
public abstract NodeValue exec(List<NodeValue> args)
Licenced under the Apache License, Version 2.0