Class ScriptletFactoryContext
- java.lang.Object
-
- net.sf.jasperreports.engine.scriptlets.ScriptletFactoryContext
-
public class ScriptletFactoryContext extends Object
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Constructor Summary
Constructors Constructor Description ScriptletFactoryContext(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,Object> parameterValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRDataset
getDataset()
Returns the dataset for which scriptlets are to be created.JasperReport
getJasperReport()
Returns theJasperReport
object for this context.JasperReportsContext
getJasperReportsContext()
Map<String,Object>
getParameterValues()
-
-
-
Constructor Detail
-
ScriptletFactoryContext
public ScriptletFactoryContext(JasperReportsContext jasperReportsContext, JRDataset dataset, Map<String,Object> parameterValues)
-
-
Method Detail
-
getJasperReportsContext
public JasperReportsContext getJasperReportsContext()
-
getJasperReport
public JasperReport getJasperReport()
Returns theJasperReport
object 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
JasperReport
object - See Also:
getDataset()
-
getDataset
public JRDataset getDataset()
Returns the dataset for which scriptlets are to be created.- Returns:
- a dataset
-
-