org.jfree.report.expressions
public class FormulaExpression extends AbstractExpression
| Constructor Summary | |
|---|---|
| FormulaExpression() | |
| Method Summary | |
|---|---|
| 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() |
| void | setFormula(String formula) |
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.