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.void
init
(Map<String, JRFillParameter> parametersMap, Map<String, JRFillVariable> variablesMap, WhenResourceMissingTypeEnum whenResourceMissingType, boolean ignoreNPE) void
setFillDataset
(JRFillDataset dataset)
-
Field Details
-
EXCEPTION_MESSAGE_KEY_EVALUATION_TYPE_NOT_SUPPORTED
- See Also:
-
-
Constructor Details
-
JRCrosstabExpressionEvaluator
-
-
Method Details
-
evaluate
Description copied from interface:JRFillExpressionEvaluator
Evaluates an expression.- Specified by:
evaluate
in 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:JRFillExpressionEvaluator
Returns the dataset used by the expression evaluator.- Specified by:
getFillDataset
in interfaceJRFillExpressionEvaluator
-