Package net.sf.jasperreports.engine.fill
Class BuiltinExpressionEvaluatorDecorator
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.BuiltinExpressionEvaluatorDecorator
-
- All Implemented Interfaces:
DatasetExpressionEvaluator
public class BuiltinExpressionEvaluatorDecorator extends Object implements DatasetExpressionEvaluator
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description BuiltinExpressionEvaluatorDecorator(DatasetExpressionEvaluator decorated, Map<JRExpression,BuiltinExpressionEvaluator> builtinEvaluators)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(JRExpression expression)
Object
evaluateEstimated(JRExpression expression)
Object
evaluateOld(JRExpression expression)
void
init(Map<String,JRFillParameter> parametersMap, Map<String,JRFillField> fieldsMap, Map<String,JRFillVariable> variablesMap, WhenResourceMissingTypeEnum resourceMissingType, boolean ignoreNPE)
-
-
-
Constructor Detail
-
BuiltinExpressionEvaluatorDecorator
public BuiltinExpressionEvaluatorDecorator(DatasetExpressionEvaluator decorated, Map<JRExpression,BuiltinExpressionEvaluator> builtinEvaluators)
-
-
Method Detail
-
init
public void init(Map<String,JRFillParameter> parametersMap, Map<String,JRFillField> fieldsMap, Map<String,JRFillVariable> variablesMap, WhenResourceMissingTypeEnum resourceMissingType, boolean ignoreNPE) throws JRException
- Specified by:
init
in interfaceDatasetExpressionEvaluator
- Throws:
JRException
-
evaluate
public Object evaluate(JRExpression expression) throws JRExpressionEvalException
- Specified by:
evaluate
in interfaceDatasetExpressionEvaluator
- Throws:
JRExpressionEvalException
-
evaluateEstimated
public Object evaluateEstimated(JRExpression expression) throws JRExpressionEvalException
- Specified by:
evaluateEstimated
in interfaceDatasetExpressionEvaluator
- Throws:
JRExpressionEvalException
-
evaluateOld
public Object evaluateOld(JRExpression expression) throws JRExpressionEvalException
- Specified by:
evaluateOld
in interfaceDatasetExpressionEvaluator
- Throws:
JRExpressionEvalException
-
-