com.atlassian.templaterenderer.velocity.one.six
Interface VelocityTemplateRendererFactory

All Superinterfaces:
com.atlassian.templaterenderer.TemplateRendererFactory
All Known Implementing Classes:
VelocityTemplateRendererFactoryImpl, VelocityTemplateRendererFactoryServiceFactory

public interface VelocityTemplateRendererFactory
extends com.atlassian.templaterenderer.TemplateRendererFactory

Factory for plugins wanting to pass specific properties to a velocity template renderer


Method Summary
 com.atlassian.templaterenderer.TemplateRenderer getInstance(ClassLoader classLoader, Map<String,String> properties)
          Deprecated. This method is no longer needed, as the factory service imported by plugins will be one that already knows what the plugins bundles classloader should be. Use #getInstance(Map) instead.
 com.atlassian.templaterenderer.TemplateRenderer getInstance(Map<String,String> properties)
          Get an instance of a velocity template renderer initialised with the given properties for the velocity engine
 
Methods inherited from interface com.atlassian.templaterenderer.TemplateRendererFactory
getInstance
 

Method Detail

getInstance

@Deprecated
com.atlassian.templaterenderer.TemplateRenderer getInstance(ClassLoader classLoader,
                                                                       Map<String,String> properties)
Deprecated. This method is no longer needed, as the factory service imported by plugins will be one that already knows what the plugins bundles classloader should be. Use #getInstance(Map) instead.


getInstance

com.atlassian.templaterenderer.TemplateRenderer getInstance(Map<String,String> properties)
Get an instance of a velocity template renderer initialised with the given properties for the velocity engine

Parameters:
properties - The properties to initialise the template renderer with
Returns:
A template renderer


Copyright © 2011 Atlassian. All Rights Reserved.