Class XslTemplateProviderHooker
java.lang.Object
net.datenwerke.rs.tabletemplate.service.engines.xsl.hookers.XslTemplateProviderHooker
- All Implemented Interfaces:
Hook,TableTemplateProviderHook
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXslTemplateProviderHooker(ReportExecutorService reportExecutor, ReportServerService reportServerService, XMLUtilsService xmlUtils) -
Method Summary
Modifier and TypeMethodDescriptioncreateTemplateFor(TableTemplateConfig config) executeReport(OutputStream os, ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) getCharset(TableReportTemplate template) getMimeType(TableReportTemplate template) getTemplateFilename(TableReportTemplate template) voidupdateTemplate(TableReportTemplate template, TableTemplateConfig config) voidwriteToStream(TableReportTemplate template, OutputStream outputStream)
-
Field Details
-
XSLT_CONTEXT
- See Also:
-
-
Constructor Details
-
XslTemplateProviderHooker
public XslTemplateProviderHooker(ReportExecutorService reportExecutor, ReportServerService reportServerService, XMLUtilsService xmlUtils)
-
-
Method Details
-
getTemplateType
- Specified by:
getTemplateTypein interfaceTableTemplateProviderHook
-
createTemplateFor
- Specified by:
createTemplateForin interfaceTableTemplateProviderHook
-
executeReportDry
public CompiledReport executeReportDry(ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException - Specified by:
executeReportDryin interfaceTableTemplateProviderHook- Throws:
ReportExecutorException
-
executeReport
public CompiledReport executeReport(OutputStream os, ReportEngine engine, Report report, ParameterSet additionalParameters, User user, String outputFormat, ReportExecutionConfig[] configs, TableReportTemplate template) throws ReportExecutorException - Specified by:
executeReportin interfaceTableTemplateProviderHook- Throws:
ReportExecutorException
-
getTemplateFilename
- Specified by:
getTemplateFilenamein interfaceTableTemplateProviderHook
-
writeToStream
public void writeToStream(TableReportTemplate template, OutputStream outputStream) throws IOException - Specified by:
writeToStreamin interfaceTableTemplateProviderHook- Throws:
IOException
-
getCharset
- Specified by:
getCharsetin interfaceTableTemplateProviderHook
-
getMimeType
- Specified by:
getMimeTypein interfaceTableTemplateProviderHook
-
updateTemplate
- Specified by:
updateTemplatein interfaceTableTemplateProviderHook
-