Class ScriptletFactoryContext
java.lang.Object
net.sf.jasperreports.engine.scriptlets.ScriptletFactoryContext
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
Constructor Summary
ConstructorsConstructorDescriptionScriptletFactoryContext(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String, Object> parameterValues) -
Method Summary
Modifier and TypeMethodDescriptionReturns the dataset for which scriptlets are to be created.Returns theJasperReportobject for this context.
-
Constructor Details
-
ScriptletFactoryContext
public ScriptletFactoryContext(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String, Object> parameterValues)
-
-
Method Details
-
getJasperReportsContext
-
getJasperReport
Returns theJasperReportobject for this context.Note that this context might correspond to a subdataset in the report. Use
getDataset()to retrieve the dataset for which scriptlets are to be created- Returns:
- the current
JasperReportobject - See Also:
-
getParameterValues
-
getDataset
Returns the dataset for which scriptlets are to be created.- Returns:
- a dataset
-