public final class SimpleFunctionImpl extends Object implements SimpleFunction
SimpleFunction
.Modifier and Type | Field and Description |
---|---|
Method |
method
The, possibly static, method implementing the XPath extension function.
|
Object |
object
The object on which the method is invoked.
|
METHOD_PARAMETER_TYPES
Constructor and Description |
---|
SimpleFunctionImpl(Object object,
Method method)
Constructs a simple function object.
|
Modifier and Type | Method and Description |
---|---|
Method |
getMethod()
The, possibly static, method implementing the XPath extension function.
|
Object |
getObject()
The object on which the method is invoked.
|
public final Object object
null
if it is a
static method.public final Method method
public Object getObject()
SimpleFunction
null
if it is a
static method.getObject
in interface SimpleFunction
public Method getMethod()
SimpleFunction
The signature of this method must be:
Variant method_name(VariantExpr[] args, XNode node, ExprContext context) throws EvalException;
getMethod
in interface SimpleFunction
Variant
,
VariantExpr
,
XNode
,
ExprContext
,
EvalException