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 java.lang.Object
- implements BuiltinExpressionEvaluator
Builtin expression that evaluates to a constant value.
- Version:
- $Id: ConstantBuiltinExpression.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Lucian Chirita ([email protected])
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstantBuiltinExpression
public ConstantBuiltinExpression(java.lang.Object value)
- Creates an expression evaluator for a specified value.
- Parameters:
value
- the value
init
public void init(java.util.Map<java.lang.String,JRFillParameter> parametersMap,
java.util.Map<java.lang.String,JRFillField> fieldsMap,
java.util.Map<java.lang.String,JRFillVariable> variablesMap,
WhenResourceMissingTypeEnum resourceMissingType)
throws JRException
- Specified by:
init
in interface BuiltinExpressionEvaluator
- Throws:
JRException
evaluate
public java.lang.Object evaluate()
throws JRExpressionEvalException
- Specified by:
evaluate
in interface BuiltinExpressionEvaluator
- Throws:
JRExpressionEvalException
evaluateOld
public java.lang.Object evaluateOld()
throws JRExpressionEvalException
- Specified by:
evaluateOld
in interface BuiltinExpressionEvaluator
- Throws:
JRExpressionEvalException
evaluateEstimated
public java.lang.Object evaluateEstimated()
throws JRExpressionEvalException
- Specified by:
evaluateEstimated
in interface BuiltinExpressionEvaluator
- Throws:
JRExpressionEvalException
Copyright © 2011. All Rights Reserved.