Class ScriptletFactoryContext


  • public class ScriptletFactoryContext
    extends java.lang.Object
    Author:
    Teodor Danciu (teodord@users.sourceforge.net)
    • Constructor Detail

      • ScriptletFactoryContext

        public ScriptletFactoryContext​(JasperReportsContext jasperReportsContext,
                                       JRDataset dataset,
                                       java.util.Map<java.lang.String,​java.lang.Object> parameterValues)
    • Method Detail

      • 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