net.sf.jasperreports.engine.scriptlets
Class ScriptletFactoryContext
java.lang.Object
net.sf.jasperreports.engine.scriptlets.ScriptletFactoryContext
public class ScriptletFactoryContext
- extends java.lang.Object
- Version:
- $Id: ScriptletFactoryContext.java 5050 2012-03-12 10:11:26Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScriptletFactoryContext
public ScriptletFactoryContext(JasperReportsContext jasperReportsContext,
JRDataset dataset,
java.util.Map<java.lang.String,java.lang.Object> parameterValues)
ScriptletFactoryContext
public ScriptletFactoryContext(java.util.Map<java.lang.String,java.lang.Object> parameterValues,
JRDataset dataset)
- Deprecated. Replaced by
ScriptletFactoryContext(JasperReportsContext, JRDataset, Map)
.
getJasperReportsContext
public JasperReportsContext getJasperReportsContext()
getJasperReport
public JasperReport getJasperReport()
- Returns the
JasperReport
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()
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
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com