|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ucl.xpath.function.FunctionLibrary
Class for Function Library support.
Constructor Summary | |
FunctionLibrary(java.lang.String ns)
Constructor for FunctionLibrary. |
Method Summary | |
void |
add_function(Function x)
Add a function. |
DynamicContext |
dynamic_context()
Support for Dynamic context. |
boolean |
function_exists(QName name,
int arity)
Checks whether the function exists or not. |
Function |
function(QName name,
int arity)
Function support. |
java.lang.String |
namespace()
Support for namespace. |
void |
set_dynamic_context(DynamicContext dc)
Set dynamic context on function. |
void |
set_static_context(StaticContext sc)
Set static context on function. |
StaticContext |
static_context()
Support for Static context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FunctionLibrary(java.lang.String ns)
ns
- namespace.Method Detail |
public void add_function(Function x)
x
- function to add.public boolean function_exists(QName name, int arity)
name
- QName of function.arity
- arity of the function.
public Function function(QName name, int arity)
name
- QName.arity
- arity of the function.
public java.lang.String namespace()
public void set_static_context(StaticContext sc)
public void set_dynamic_context(DynamicContext dc)
public StaticContext static_context()
public DynamicContext dynamic_context()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |