Package net.sf.jasperreports.engine.fill
Class BuiltinFillExpressionEvaluatorDecorator
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.BuiltinFillExpressionEvaluatorDecorator
-
- All Implemented Interfaces:
JRFillExpressionEvaluator
public class BuiltinFillExpressionEvaluatorDecorator extends Object implements JRFillExpressionEvaluator
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description BuiltinFillExpressionEvaluatorDecorator(JRFillExpressionEvaluator decorated, Map<JRExpression,BuiltinExpressionEvaluator> builtinEvaluators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(JRExpression expression, byte evaluationType)
Evaluates an expression.JRFillDataset
getFillDataset()
Returns the dataset used by the expression evaluator.
-
-
-
Constructor Detail
-
BuiltinFillExpressionEvaluatorDecorator
public BuiltinFillExpressionEvaluatorDecorator(JRFillExpressionEvaluator decorated, Map<JRExpression,BuiltinExpressionEvaluator> builtinEvaluators)
-
-
Method Detail
-
evaluate
public Object evaluate(JRExpression expression, byte evaluationType) throws JRException
Description copied from interface:JRFillExpressionEvaluator
Evaluates an expression.- Specified by:
evaluate
in interfaceJRFillExpressionEvaluator
- Parameters:
expression
- the expression to evaluateevaluationType
- one ofJRExpression.EVALUATION_DEFAULT
,JRExpression.EVALUATION_OLD
,JRExpression.EVALUATION_ESTIMATED
- Returns:
- the result
- Throws:
JRException
-
getFillDataset
public JRFillDataset getFillDataset()
Description copied from interface:JRFillExpressionEvaluator
Returns the dataset used by the expression evaluator.- Specified by:
getFillDataset
in interfaceJRFillExpressionEvaluator
-
-