public class JasperReport extends JRBaseReport
background, bottomMargin, columnCount, columnDirection, columnFooter, columnHeader, columnSpacing, columnWidth, datasets, defaultFont, defaultStyle, detailSection, fonts, 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
LANGUAGE_GROOVY, LANGUAGE_JAVA, ORIENTATION_LANDSCAPE, ORIENTATION_PORTRAIT, PRINT_ORDER_HORIZONTAL, PRINT_ORDER_VERTICAL, WHEN_NO_DATA_TYPE_ALL_SECTIONS_NO_DETAIL, WHEN_NO_DATA_TYPE_BLANK_PAGE, WHEN_NO_DATA_TYPE_NO_DATA_SECTION, WHEN_NO_DATA_TYPE_NO_PAGES, WHEN_RESOURCE_MISSING_TYPE_EMPTY, WHEN_RESOURCE_MISSING_TYPE_ERROR, WHEN_RESOURCE_MISSING_TYPE_KEY, WHEN_RESOURCE_MISSING_TYPE_NULL
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
copyTemplates, getBackground, getBottomMargin, getColumnCount, getColumnDirection, getColumnFooter, getColumnHeader, getColumnSpacing, getColumnWidth, getDatasets, getDefaultFont, getDefaultStyle, getDetail, getDetailSection, getEventSupport, getFields, getFonts, getFormatFactoryClass, getGroups, getImports, getLanguage, getLastPageFooter, getLeftMargin, getMainDataset, getName, getNoData, getOrientation, getOrientationValue, getPageFooter, getPageHeader, getPageHeight, getPageWidth, getParameters, getParentProperties, getPrintOrder, getPrintOrderValue, getPropertiesMap, getProperty, getPropertyNames, getQuery, getResourceBundle, getRightMargin, getScriptletClass, getScriptlets, getSortFields, getStyles, getSummary, getTemplates, getTitle, getTopMargin, getVariables, getWhenNoDataType, getWhenNoDataTypeValue, getWhenResourceMissingType, getWhenResourceMissingTypeValue, hasProperties, isFloatColumnFooter, isIgnorePagination, isSummaryNewPage, isSummaryWithPageHeaderAndFooter, isTitleNewPage, removeProperty, setProperty, setWhenNoDataType, setWhenNoDataType, setWhenResourceMissingType, setWhenResourceMissingType
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)
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.
© 2001-2010 Jaspersoft Corporation www.jaspersoft.com