fr.opensagres.xdocreport.template.freemarker.discovery
Class FreemarkerTemplateEngineDiscovery
java.lang.Object
fr.opensagres.xdocreport.template.freemarker.discovery.FreemarkerTemplateEngineDiscovery
- All Implemented Interfaces:
- IBaseDiscovery, ITemplateEngineDiscovery, FreemarkerConstants
public class FreemarkerTemplateEngineDiscovery
- extends Object
- implements ITemplateEngineDiscovery, FreemarkerConstants
Freemarker template engine discovery used to returns FreemarkerTemplateEngine
instance.
Method Summary |
ITemplateEngine |
createTemplateEngine()
Returns the default template engine to use for report generation when an IXDocReport is created with
XDocReportRegistry#loadReport(java.io.InputStream) without specifying the template engine. |
String |
getDescription()
Returns the description of the discovery. |
String |
getId()
Returns the id of the discovery. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreemarkerTemplateEngineDiscovery
public FreemarkerTemplateEngineDiscovery()
createTemplateEngine
public ITemplateEngine createTemplateEngine()
- Description copied from interface:
ITemplateEngineDiscovery
- Returns the default template engine to use for report generation when an
IXDocReport
is created with
XDocReportRegistry#loadReport(java.io.InputStream)
without specifying the template engine.
- Specified by:
createTemplateEngine
in interface ITemplateEngineDiscovery
- Returns:
getDescription
public String getDescription()
- Description copied from interface:
IBaseDiscovery
- Returns the description of the discovery.
- Specified by:
getDescription
in interface IBaseDiscovery
- Returns:
getId
public String getId()
- Description copied from interface:
IBaseDiscovery
- Returns the id of the discovery.
- Specified by:
getId
in interface IBaseDiscovery
- Returns:
Copyright © 2013. All rights reserved.