public class XslTemplateProviderHooker extends java.lang.Object implements TableTemplateProviderHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
XSLT_CONTEXT |
Constructor and Description |
---|
XslTemplateProviderHooker(ReportExecutorService reportExecutor,
ReportServerService reportServerService,
XMLUtilsService xmlUtils) |
Modifier and Type | Method and Description |
---|---|
TableReportTemplate |
createTemplateFor(TableTemplateConfig config) |
CompiledReport |
executeReport(java.io.OutputStream os,
ReportEngine engine,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs,
TableReportTemplate template) |
CompiledReport |
executeReportDry(ReportEngine engine,
Report report,
ParameterSet additionalParameters,
User user,
java.lang.String outputFormat,
ReportExecutionConfig[] configs,
TableReportTemplate template) |
java.lang.String |
getCharset(TableReportTemplate template) |
java.lang.String |
getMimeType(TableReportTemplate template) |
java.lang.String |
getTemplateFilename(TableReportTemplate template) |
java.lang.String |
getTemplateType() |
void |
updateTemplate(TableReportTemplate template,
TableTemplateConfig config) |
void |
writeToStream(TableReportTemplate template,
java.io.OutputStream outputStream) |
public static final java.lang.String XSLT_CONTEXT
public XslTemplateProviderHooker(ReportExecutorService reportExecutor, ReportServerService reportServerService, XMLUtilsService xmlUtils)
public java.lang.String getTemplateType()
getTemplateType
in interface TableTemplateProviderHook
public TableReportTemplate createTemplateFor(TableTemplateConfig config)
createTemplateFor
in interface TableTemplateProviderHook
public CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException
executeReportDry
in interface TableTemplateProviderHook
ReportExecutorException
public CompiledReport executeReport(java.io.OutputStream os, ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException
executeReport
in interface TableTemplateProviderHook
ReportExecutorException
public java.lang.String getTemplateFilename(TableReportTemplate template)
getTemplateFilename
in interface TableTemplateProviderHook
public void writeToStream(TableReportTemplate template, java.io.OutputStream outputStream) throws java.io.IOException
writeToStream
in interface TableTemplateProviderHook
java.io.IOException
public java.lang.String getCharset(TableReportTemplate template)
getCharset
in interface TableTemplateProviderHook
public java.lang.String getMimeType(TableReportTemplate template)
getMimeType
in interface TableTemplateProviderHook
public void updateTemplate(TableReportTemplate template, TableTemplateConfig config)
updateTemplate
in interface TableTemplateProviderHook