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