net.sf.jasperreports.engine.fill
Class JRParameterDefaultValuesEvaluator
java.lang.Object
net.sf.jasperreports.engine.fill.JRParameterDefaultValuesEvaluator
public final class JRParameterDefaultValuesEvaluator
- extends Object
Utility class to be used to evaluate parameter default value expressions for a report
without actually filling it.
- Version:
- $Id: JRParameterDefaultValuesEvaluator.java 5292 2012-04-23 15:30:44Z teodord $
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
evaluateParameterDefaultValues
public static Map<String,Object> evaluateParameterDefaultValues(JasperReport report,
Map<String,Object> initialParameters)
throws JRException
- Evaluates the default values for the parameters of a report.
- Parameters:
report - the reportinitialParameters - initial parameter value map
- Returns:
- a map containing parameter values indexed by parameter names
- Throws:
JRException
evaluateParameterDefaultValues
public static Map<String,Object> evaluateParameterDefaultValues(JasperReportsContext jasperReportsContext,
JasperReport report,
Map<String,Object> initialParameters)
throws JRException
- Evaluates the default values for the parameters of a report.
- Parameters:
report - the reportinitialParameters - initial parameter value map
- Returns:
- a map containing parameter values indexed by parameter names
- Throws:
JRException
Copyright © 2012. All Rights Reserved.