net.sf.jasperreports.compilers
Class JRBshEvaluator
java.lang.Object
net.sf.jasperreports.engine.fill.JREvaluator
net.sf.jasperreports.compilers.JRBshEvaluator
- All Implemented Interfaces:
- DatasetExpressionEvaluator
public class JRBshEvaluator
- extends JREvaluator
- Version:
- $Id: JRBshEvaluator.java 4595 2011-09-08 15:55:10Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRBshEvaluator
public JRBshEvaluator(String bshScript)
throws JRException
- Throws:
JRException
verify
public <T> void verify(Collection<T> expressions)
throws JRException
- Throws:
JRException
customizedInit
protected void customizedInit(Map<String,JRFillParameter> pars,
Map<String,JRFillField> fldsm,
Map<String,JRFillVariable> varsm)
throws JRException
- Description copied from class:
JREvaluator
- Initializes the parameters, fields and variables of the evaluator.
- Specified by:
customizedInit in class JREvaluator
- Parameters:
pars - the parameters indexed by namefldsm - the fields indexed by namevarsm - the variables indexed by name
- Throws:
JRException
evaluateOld
protected Object evaluateOld(int id)
throws Throwable
- Description copied from class:
JREvaluator
- Evaluates an expression using old fields and variables values.
- Specified by:
evaluateOld in class JREvaluator
- Parameters:
id - the expression id
- Returns:
- the result of the evaluation
- Throws:
Throwable- See Also:
JRExpression.EVALUATION_OLD,
JRFillVariable.getOldValue(),
JRFillField.getOldValue()
evaluateEstimated
protected Object evaluateEstimated(int id)
throws Throwable
- Description copied from class:
JREvaluator
- Evaluates an expression using estimated variables values.
- Specified by:
evaluateEstimated in class JREvaluator
- Parameters:
id - the expression id
- Returns:
- the result of the evaluation
- Throws:
Throwable- See Also:
JRExpression.EVALUATION_ESTIMATED,
JRFillVariable.getEstimatedValue()
evaluate
protected Object evaluate(int id)
throws Throwable
- Description copied from class:
JREvaluator
- Evaluates an expression using current fields and variables values.
- Specified by:
evaluate in class JREvaluator
- Parameters:
id - the expression id
- Returns:
- the result of the evaluation
- Throws:
Throwable- See Also:
JRExpression.EVALUATION_DEFAULT,
JRFillVariable.getValue(),
JRFillField.getValue()
Copyright © 2012. All Rights Reserved.