Package io.keikaiex.formula
Class ELEval
java.lang.Object
io.keikaiex.formula.ELEval
- All Implemented Interfaces:
FreeRefFunction
A function that does ZK EL (Expression Language) evaluation —
implements the Excel formula
=ELEVAL("expr") so customer
spreadsheets can embed EL into a cell.
POI removal Keikai-native rewrite — switched from POI's
org.apache.poi.ss.formula.functions.FreeRefFunction to
Keikai's FreeRefFunction. Behaviour is unchanged: when no
ZK EL context is on the thread (headless mode) the function returns
#NAME?; otherwise the EL expression is evaluated via
reflection on org.zkoss.xel.Expressions.
- Author:
- henrichen
-
Field Summary
Fields -
Method Summary
-
Field Details
-
instance
-
NAME
- See Also:
-
-
Method Details
-
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.
-