fr.opensagres.xdocreport.template.freemarker.discovery
Class FreemarkerTemplateEngineDiscovery

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.template.freemarker.FreemarkerConstants
DESCRIPTION_DISCOVERY, ID_DISCOVERY
 
Constructor Summary
FreemarkerTemplateEngineDiscovery()
           
 
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
 

Constructor Detail

FreemarkerTemplateEngineDiscovery

public FreemarkerTemplateEngineDiscovery()
Method Detail

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.