|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.design.JRDefaultCompiler
public final class JRDefaultCompiler
Method Summary | |
---|---|
JasperReport |
compileReport(JasperDesign jasperDesign)
Compiles a report design. |
static JRDefaultCompiler |
getInstance()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static JRDefaultCompiler getInstance()
public JasperReport compileReport(JasperDesign jasperDesign) throws JRException
JRCompiler
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
.
compileReport
in interface JRCompiler
jasperDesign
- the report design
JRException
public JREvaluator loadEvaluator(JasperReport jasperReport, JRDataset dataset) throws JRException
JRCompiler
loadEvaluator
in interface JRCompiler
jasperReport
- the reportdataset
- the dataset
JRException
public JREvaluator loadEvaluator(JasperReport jasperReport, JRCrosstab crosstab) throws JRException
JRCompiler
loadEvaluator
in interface JRCompiler
jasperReport
- the reportcrosstab
- the crosstab
JRException
public JREvaluator loadEvaluator(JasperReport jasperReport) throws JRException
JRCompiler
loadEvaluator
in interface JRCompiler
jasperReport
- the report
JRException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |