Package org.eclipse.wst.xml.xpath2.api
public class FunctionLibrary extendsInterface for function libraries support.
Field Summary | |
public static int | VARIABLE_ARITY |
Method Summary | |
public boolean | functionExists(java.lang.String name
,
int arity) Checks whether the function exists or not. |
public java.lang.String | getNamespace() Returns the namespace of the function library. |
public org.eclipse.wst.xml.xpath2.api.Function | resolveFunction(java.lang.String localName
,
int arity) Function support. |
Field Detail |
public static int VARIABLE_ARITY
Methods Detail |
public boolean functionExists(java.lang.String name
,
int arity)
Checks whether the function exists or not.
name
- Name of function.
arity
- arity of the function,
boolean
- Result of the test.
public java.lang.String getNamespace()
Returns the namespace of the function library.
java.lang.String
- Namespace.
public org.eclipse.wst.xml.xpath2.api.Function resolveFunction(java.lang.String localName
,
int arity)
Function support.
localName
arity
- arity of the function.
org.eclipse.wst.xml.xpath2.api.Function
- The function from the library.