fr.opensagres.xdocreport.template.velocity.discovery
Class VelocityTemplateEngineDiscovery

java.lang.Object
  extended by fr.opensagres.xdocreport.template.velocity.discovery.VelocityTemplateEngineDiscovery
All Implemented Interfaces:
IBaseDiscovery, ITemplateEngineDiscovery, VelocityConstants

public class VelocityTemplateEngineDiscovery
extends Object
implements ITemplateEngineDiscovery, VelocityConstants

Velocity template engine discovery used to returns VelocityTemplateEngine.


Field Summary
 
Fields inherited from interface fr.opensagres.xdocreport.template.velocity.VelocityConstants
DESCRIPTION_DISCOVERY, ID_DISCOVERY, VELOCITY_TEMPLATE_ENGINE_KEY
 
Constructor Summary
VelocityTemplateEngineDiscovery()
           
 
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

VelocityTemplateEngineDiscovery

public VelocityTemplateEngineDiscovery()
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.