Package io.keikaiex.formula
Class ELEvalFunction
java.lang.Object
io.keikaiex.formula.ELEvalFunction
- All Implemented Interfaces:
FreeRefFunction,Serializable
Default function that delegates a Keikai formula call to a TLD-defined
EL function (registered via
<?taglib?> in the active ZUL).
POI removal Keikai-native rewrite — implements
FreeRefFunction only (POI's separate Function interface
is gone; the no-context overload is folded into the single
evaluate(ValueEval[], Object) entry point).
- Author:
- henrichen, dennischen
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluate the user function.boolean
-
Constructor Details
-
ELEvalFunction
-
-
Method Details
-
hasFunction
public boolean hasFunction()- Returns:
trueiff the named function resolves in the current XelContext.
-
evaluate
Description copied from interface:FreeRefFunctionEvaluate the user function.- Specified by:
evaluatein interfaceFreeRefFunction- Parameters:
args- the parsed argument values (numeric / string / boolean / error / blank Eval instances)ec- opaque evaluation context (currentlynullunder the Rust path; future Keikai-native contexts will pass cell position info)- Returns:
- the function result;
nullorBlankEval.INSTANCEfor an empty result.
-