com.atlassian.templaterenderer.velocity.one.six.internal
Class VelocityTemplateRendererImpl
java.lang.Object
com.atlassian.templaterenderer.velocity.one.six.internal.VelocityTemplateRendererImpl
- All Implemented Interfaces:
- com.atlassian.templaterenderer.TemplateRenderer, VelocityTemplateRenderer
public class VelocityTemplateRendererImpl
- extends Object
- implements VelocityTemplateRenderer
A velocity template renderer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VelocityTemplateRendererImpl
public VelocityTemplateRendererImpl(ClassLoader classLoader,
String pluginKey,
Map<String,String> properties,
com.atlassian.templaterenderer.TemplateContextFactory templateContextFactory)
render
public void render(String templateName,
Writer writer)
throws com.atlassian.templaterenderer.RenderingException,
IOException
- Specified by:
render in interface com.atlassian.templaterenderer.TemplateRenderer
- Throws:
com.atlassian.templaterenderer.RenderingException
IOException
render
public void render(String templateName,
Map<String,Object> context,
Writer writer)
throws com.atlassian.templaterenderer.RenderingException,
IOException
- Specified by:
render in interface com.atlassian.templaterenderer.TemplateRenderer
- Throws:
com.atlassian.templaterenderer.RenderingException
IOException
renderFragment
public String renderFragment(String fragment,
Map<String,Object> context)
- Specified by:
renderFragment in interface com.atlassian.templaterenderer.TemplateRenderer
resolve
public boolean resolve(String templateName)
- Check whether the given template exists or not
- Specified by:
resolve in interface com.atlassian.templaterenderer.TemplateRenderer
Copyright © 2012 Atlassian. All Rights Reserved.