|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.jasperreports.engine.base.JRBaseReport
net.sf.jasperreports.engine.JasperReport
public class JasperReport
The actual representation of a compiled report. The main difference between a report and a report design is that reports are already compiled and validated, so many characteristics are read only.
Field Summary |
---|
Fields inherited from class net.sf.jasperreports.engine.base.JRBaseReport |
---|
background, bottomMargin, columnCount, columnDirection, columnFooter, columnHeader, columnSpacing, columnWidth, datasets, defaultStyle, detailSection, formatFactoryClass, ignorePagination, importsSet, isFloatColumnFooter, isSummaryNewPage, isSummaryWithPageHeaderAndFooter, isTitleNewPage, language, lastPageFooter, leftMargin, mainDataset, name, noData, orientationValue, pageFooter, pageHeader, pageHeight, pageWidth, printOrderValue, PROPERTY_WHEN_NO_DATA_TYPE, rightMargin, styles, summary, templates, title, topMargin, whenNoDataTypeValue |
Fields inherited from interface net.sf.jasperreports.engine.JRReport |
---|
LANGUAGE_GROOVY, LANGUAGE_JAVA |
Constructor Summary | |
---|---|
JasperReport(JRReport report,
java.lang.String compilerClass,
java.io.Serializable compileData,
JRBaseObjectFactory factory,
java.lang.String compileNameSuffix)
|
|
JasperReport(JRReport report,
java.lang.String compilerClass,
java.io.Serializable compileData,
JRExpressionCollector expressionCollector,
java.lang.String compileNameSuffix)
Constructs a report by specifying the template report and compile information. |
Method Summary | |
---|---|
java.io.Serializable |
getCompileData()
Returns data resulted from the expression evaluators compilation. |
java.lang.String |
getCompileNameSuffix()
Returns the suffix of the class/unit names generated at report compilation. |
java.lang.String |
getCompilerClass()
Returns the name of the compiler class used to compile this report. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JasperReport(JRReport report, java.lang.String compilerClass, java.io.Serializable compileData, JRExpressionCollector expressionCollector, java.lang.String compileNameSuffix)
report
- the report templatecompilerClass
- the name of the class used to compile the reportcompileData
- the report/main dataset compile dataexpressionCollector
- instance used to collect expressions from the report designcompileNameSuffix
- unique string used to distinguish between distinct compilations of reports having the same name
The collector is used to fetch the generated expression IDs.
public JasperReport(JRReport report, java.lang.String compilerClass, java.io.Serializable compileData, JRBaseObjectFactory factory, java.lang.String compileNameSuffix)
Method Detail |
---|
public java.lang.String getCompilerClass()
The compiler is used to instantiate expression evaluators.
public java.io.Serializable getCompileData()
This data is used to create expression evaluators for report filling.
public java.lang.String getCompileNameSuffix()
This is used to distinguish between disctinct compilations of reports having the same name.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |