Class JRCrosstabExpressionEvaluator
java.lang.Object
net.sf.jasperreports.crosstabs.fill.JRCrosstabExpressionEvaluator
- All Implemented Interfaces:
JRFillExpressionEvaluator
Expression evaluator used for crosstabs at fill time.
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(JRExpression expression, byte evaluationType) Evaluates an expression.Returns the dataset used by the expression evaluator.voidinit(Map<String, JRFillParameter> parametersMap, Map<String, JRFillVariable> variablesMap, WhenResourceMissingTypeEnum whenResourceMissingType, boolean ignoreNPE) voidsetFillDataset(JRFillDataset dataset)
-
Field Details
-
EXCEPTION_MESSAGE_KEY_EVALUATION_TYPE_NOT_SUPPORTED
- See Also:
-
-
Constructor Details
-
JRCrosstabExpressionEvaluator
-
-
Method Details
-
evaluate
Description copied from interface:JRFillExpressionEvaluatorEvaluates an expression.- Specified by:
evaluatein interfaceJRFillExpressionEvaluator- Parameters:
expression- the expression to evaluateevaluationType- one ofJRExpression.EVALUATION_DEFAULT,JRExpression.EVALUATION_OLD,JRExpression.EVALUATION_ESTIMATED- Returns:
- the result
- Throws:
JRException
-
init
public void init(Map<String, JRFillParameter> parametersMap, Map<String, throws JRExceptionJRFillVariable> variablesMap, WhenResourceMissingTypeEnum whenResourceMissingType, boolean ignoreNPE) - Throws:
JRException
-
setFillDataset
-
getFillDataset
Description copied from interface:JRFillExpressionEvaluatorReturns the dataset used by the expression evaluator.- Specified by:
getFillDatasetin interfaceJRFillExpressionEvaluator
-