Class TemplateGenerator
java.lang.Object
io.jmix.reportsflowui.view.reportwizard.template.TemplateGenerator
@Component("report_TemplateGenerator")
@Scope("prototype")
public class TemplateGenerator
extends Object
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Generator
createGenerator
(TemplateFileType templateFileType) byte[]
generateTemplate
(ReportData reportData, TemplateFileType templateFileType)
-
Field Details
-
applicationContext
@Autowired protected org.springframework.context.ApplicationContext applicationContext
-
-
Constructor Details
-
TemplateGenerator
public TemplateGenerator()
-
-
Method Details
-
generateTemplate
public byte[] generateTemplate(ReportData reportData, TemplateFileType templateFileType) throws TemplateGenerationException - Throws:
TemplateGenerationException
-
createGenerator
protected Generator createGenerator(TemplateFileType templateFileType) throws TemplateGenerationException - Throws:
TemplateGenerationException
-