net.sf.jasperreports.components.table.fill
Class ConstantBuiltinExpression
java.lang.Object
net.sf.jasperreports.components.table.fill.ConstantBuiltinExpression
- All Implemented Interfaces:
- BuiltinExpressionEvaluator
public class ConstantBuiltinExpression
- extends Object
- implements BuiltinExpressionEvaluator
Builtin expression that evaluates to a constant value.
- Version:
- $Id: ConstantBuiltinExpression.java 5123 2012-03-23 21:49:01Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantBuiltinExpression
public ConstantBuiltinExpression(Object value)
- Creates an expression evaluator for a specified value.
- Parameters:
value - the value
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 BuiltinExpressionEvaluator
- Throws:
JRException
evaluate
public Object evaluate(DatasetExpressionEvaluator evaluator)
throws JRExpressionEvalException
- Specified by:
evaluate in interface BuiltinExpressionEvaluator
- Throws:
JRExpressionEvalException
evaluateOld
public Object evaluateOld(DatasetExpressionEvaluator evaluator)
throws JRExpressionEvalException
- Specified by:
evaluateOld in interface BuiltinExpressionEvaluator
- Throws:
JRExpressionEvalException
evaluateEstimated
public Object evaluateEstimated(DatasetExpressionEvaluator evaluator)
throws JRExpressionEvalException
- Specified by:
evaluateEstimated in interface BuiltinExpressionEvaluator
- Throws:
JRExpressionEvalException
Copyright © 2012. All Rights Reserved.