Package net.sf.jasperreports.compilers
Class GroovySandboxEvaluator
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.JREvaluator
-
- net.sf.jasperreports.compilers.GroovyEvaluator
-
- net.sf.jasperreports.compilers.GroovySandboxEvaluator
-
- All Implemented Interfaces:
DatasetExpressionEvaluator,JasperReportsContextAware
public abstract class GroovySandboxEvaluator extends GroovyEvaluator
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from class net.sf.jasperreports.compilers.GroovyEvaluator
EXCEPTION_MESSAGE_KEY_FUNCTION_NOT_FOUND
-
Fields inherited from class net.sf.jasperreports.engine.fill.JREvaluator
EXCEPTION_MESSAGE_KEY_RESOURCE_NOT_FOUND, ignoreNPE, PROPERTY_IGNORE_NPE
-
-
Constructor Summary
Constructors Constructor Description GroovySandboxEvaluator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectevaluate(JRExpression expression)java.lang.ObjectevaluateEstimated(JRExpression expression)java.lang.ObjectevaluateOld(JRExpression expression)voidsetReportClassFilter(ReportClassFilter reportClassFilter)-
Methods inherited from class net.sf.jasperreports.compilers.GroovyEvaluator
addFunctionClosureMethods, functionCall, handleEvaluationException, registerMethods, setJasperReportsContext
-
Methods inherited from class net.sf.jasperreports.engine.fill.JREvaluator
customizedInit, evaluate, evaluateEstimated, evaluateOld, getFunctionSupport, handleMissingResource, init, msg, msg, msg, msg, setDirectExpressionEvaluators, str
-
-
-
-
Method Detail
-
setReportClassFilter
public void setReportClassFilter(ReportClassFilter reportClassFilter)
-
evaluate
public java.lang.Object evaluate(JRExpression expression) throws JRExpressionEvalException
- Specified by:
evaluatein interfaceDatasetExpressionEvaluator- Overrides:
evaluatein classJREvaluator- Throws:
JRExpressionEvalException
-
evaluateOld
public java.lang.Object evaluateOld(JRExpression expression) throws JRExpressionEvalException
- Specified by:
evaluateOldin interfaceDatasetExpressionEvaluator- Overrides:
evaluateOldin classJREvaluator- Throws:
JRExpressionEvalException
-
evaluateEstimated
public java.lang.Object evaluateEstimated(JRExpression expression) throws JRExpressionEvalException
- Specified by:
evaluateEstimatedin interfaceDatasetExpressionEvaluator- Overrides:
evaluateEstimatedin classJREvaluator- Throws:
JRExpressionEvalException
-
-