|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JRCompiler
| Field Summary | |
|---|---|
static String |
COMPILER_CLASS
Deprecated. Replaced by COMPILER_PREFIX. |
static String |
COMPILER_CLASSPATH
The classpath used by the report compiler. |
static String |
COMPILER_KEEP_JAVA_FILE
Whether to keep the java file generated when the report is compiled. |
static String |
COMPILER_PREFIX
Prefix for properties that map report compilers to expression languages. |
static String |
COMPILER_TEMP_DIR
The temporary directory used by the report compiler. |
| Method Summary | |
|---|---|
JasperReport |
compileReport(JasperDesign jasperDesign)
Compiles a report design. |
JREvaluator |
loadEvaluator(JasperReport jasperReport)
Loads the evaluator for a report's main dataset. |
JREvaluator |
loadEvaluator(JasperReport jasperReport,
JRCrosstab crosstab)
Loads a expression evaluator class for a crosstab of a report. |
JREvaluator |
loadEvaluator(JasperReport jasperReport,
JRDataset dataset)
Loads a expression evaluator class for a dataset of a report. |
| Field Detail |
|---|
static final String COMPILER_CLASS
COMPILER_PREFIX.No default value.
static final String COMPILER_PREFIX
static final String COMPILER_KEEP_JAVA_FILE
Defaults to false.
static final String COMPILER_TEMP_DIR
Defaults to System.getProperty("user.dir").
static final String COMPILER_CLASSPATH
Defaults to System.getProperty("java.class.path").
| Method Detail |
|---|
JasperReport compileReport(JasperDesign jasperDesign)
throws JRException
The compilation consists of verification of the design, generation of expression evaluators and construction of a serializable read-only version of the report.
A report compiler should usually extend JRAbstractCompiler.
jasperDesign - the report design
JRException
JREvaluator loadEvaluator(JasperReport jasperReport)
throws JRException
jasperReport - the report
JRException
JREvaluator loadEvaluator(JasperReport jasperReport,
JRDataset dataset)
throws JRException
jasperReport - the reportdataset - the dataset
JRException
JREvaluator loadEvaluator(JasperReport jasperReport,
JRCrosstab crosstab)
throws JRException
jasperReport - the reportcrosstab - the crosstab
JRException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||