Class AbstractContentProducerTemplate
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.modules.output.fast.template.AbstractContentProducerTemplate
-
- All Implemented Interfaces:
FastExportTemplate
- Direct Known Subclasses:
FastCsvContentProducerTemplate
,FastExcelContentProducerTemplate
,FastHtmlContentProducerTemplate
public abstract class AbstractContentProducerTemplate extends Object implements FastExportTemplate
-
-
Constructor Summary
Constructors Constructor Description AbstractContentProducerTemplate(SheetLayout sharedSheetLayout)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected FormattedDataBuilder
createTemplate(Band band, ExpressionRuntime runtime)
protected abstract FastExportTemplateProducer
createTemplateProducer()
void
finishReport()
protected OutputProcessorMetaData
getMetaData()
protected SheetLayout
getSharedSheetLayout()
void
initialize(ReportDefinition report, ExpressionRuntime runtime, boolean pagination)
void
write(Band band, ExpressionRuntime runtime)
protected abstract void
writeContent(Band band, ExpressionRuntime runtime, FormattedDataBuilder messageFormatSupport)
-
-
-
Constructor Detail
-
AbstractContentProducerTemplate
public AbstractContentProducerTemplate(SheetLayout sharedSheetLayout)
-
-
Method Detail
-
getMetaData
protected OutputProcessorMetaData getMetaData()
-
getSharedSheetLayout
protected SheetLayout getSharedSheetLayout()
-
write
public void write(Band band, ExpressionRuntime runtime) throws InvalidReportStateException
- Specified by:
write
in interfaceFastExportTemplate
- Throws:
InvalidReportStateException
-
finishReport
public void finishReport() throws ReportProcessingException
- Specified by:
finishReport
in interfaceFastExportTemplate
- Throws:
ReportProcessingException
-
writeContent
protected abstract void writeContent(Band band, ExpressionRuntime runtime, FormattedDataBuilder messageFormatSupport) throws IOException, ReportProcessingException, ContentProcessingException
-
initialize
public void initialize(ReportDefinition report, ExpressionRuntime runtime, boolean pagination)
- Specified by:
initialize
in interfaceFastExportTemplate
-
createTemplate
protected FormattedDataBuilder createTemplate(Band band, ExpressionRuntime runtime) throws ReportProcessingException, ContentProcessingException
-
createTemplateProducer
protected abstract FastExportTemplateProducer createTemplateProducer()
-
-