net.sf.jasperreports.components.table.fill
Class BuiltinExpressionEvaluatorDecorator

java.lang.Object
  extended by net.sf.jasperreports.components.table.fill.BuiltinExpressionEvaluatorDecorator
All Implemented Interfaces:
DatasetExpressionEvaluator

public class BuiltinExpressionEvaluatorDecorator
extends Object
implements DatasetExpressionEvaluator

Version:
$Id: BuiltinExpressionEvaluatorDecorator.java 5123 2012-03-23 21:49:01Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
BuiltinExpressionEvaluatorDecorator(DatasetExpressionEvaluator decorated, Map<JRExpression,BuiltinExpressionEvaluator> builtinEvaluators)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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)
          throws JRException
Specified by:
init in interface DatasetExpressionEvaluator
Throws:
JRException

evaluate

public Object evaluate(JRExpression expression)
                throws JRExpressionEvalException
Specified by:
evaluate in interface DatasetExpressionEvaluator
Throws:
JRExpressionEvalException

evaluateEstimated

public Object evaluateEstimated(JRExpression expression)
                         throws JRExpressionEvalException
Specified by:
evaluateEstimated in interface DatasetExpressionEvaluator
Throws:
JRExpressionEvalException

evaluateOld

public Object evaluateOld(JRExpression expression)
                   throws JRExpressionEvalException
Specified by:
evaluateOld in interface DatasetExpressionEvaluator
Throws:
JRExpressionEvalException


Copyright © 2012. All Rights Reserved.