public abstract class AbstractContentProducerTemplate extends Object implements FastExportTemplate
Constructor and Description |
---|
AbstractContentProducerTemplate(SheetLayout sharedSheetLayout) |
Modifier and Type | Method and 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) |
public AbstractContentProducerTemplate(SheetLayout sharedSheetLayout)
protected OutputProcessorMetaData getMetaData()
protected SheetLayout getSharedSheetLayout()
public void write(Band band, ExpressionRuntime runtime) throws InvalidReportStateException
write
in interface FastExportTemplate
InvalidReportStateException
public void finishReport() throws ReportProcessingException
finishReport
in interface FastExportTemplate
ReportProcessingException
protected abstract void writeContent(Band band, ExpressionRuntime runtime, FormattedDataBuilder messageFormatSupport) throws IOException, ReportProcessingException, ContentProcessingException
public void initialize(ReportDefinition report, ExpressionRuntime runtime, boolean pagination)
initialize
in interface FastExportTemplate
protected FormattedDataBuilder createTemplate(Band band, ExpressionRuntime runtime) throws ReportProcessingException, ContentProcessingException
protected abstract FastExportTemplateProducer createTemplateProducer()
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.