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 TableTemplateProviderHookpublic TableReportTemplate createTemplateFor(TableTemplateConfig config)
createTemplateFor in interface TableTemplateProviderHookpublic CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, java.lang.String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException
executeReportDry in interface TableTemplateProviderHookReportExecutorExceptionpublic 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 TableTemplateProviderHookReportExecutorExceptionpublic java.lang.String getTemplateFilename(TableReportTemplate template)
getTemplateFilename in interface TableTemplateProviderHookpublic void writeToStream(TableReportTemplate template, java.io.OutputStream outputStream) throws java.io.IOException
writeToStream in interface TableTemplateProviderHookjava.io.IOExceptionpublic java.lang.String getCharset(TableReportTemplate template)
getCharset in interface TableTemplateProviderHookpublic java.lang.String getMimeType(TableReportTemplate template)
getMimeType in interface TableTemplateProviderHookpublic void updateTemplate(TableReportTemplate template, TableTemplateConfig config)
updateTemplate in interface TableTemplateProviderHook