org.jfree.report.expressions
public class FormulaFunction extends AbstractExpression implements Function
Constructor Summary | |
---|---|
FormulaFunction() |
Method Summary | |
---|---|
Function | advance()
When the advance method is called, the function is asked to perform the
next step of its computation.
|
Object | clone()
Clones the expression, expression should be reinitialized after the
cloning. |
Object | computeValue()
Return the current expression value. |
Formula | getCompiledFormula()
Returns the compiled formula. |
String | getFormula() |
String | getFormulaExpression() |
String | getFormulaNamespace() |
String | getInitial() |
String | getInitialExpression() |
String | getInitialNamespace() |
void | setFormula(String formula) |
void | setInitial(String initial) |
Returns: a copy of the function containing the new state.
Expression maintain no state, cloning is done at the beginning of the report processing to disconnect the used expression from any other object space.
Returns: A clone of this expression.
Throws: CloneNotSupportedException this should never happen.
The value depends (obviously) on the expression implementation.
Returns: the value of the function.
Returns: the formula.
Throws: ParseException if the formula contains syntax errors.