public class ConfluenceSoyTemplateRenderer extends Object implements TemplateRenderer
SoyTemplateRenderer
, proving additional convenience methods
and performance logging.Constructor and Description |
---|
ConfluenceSoyTemplateRenderer(com.atlassian.soy.renderer.SoyTemplateRenderer delegate) |
Modifier and Type | Method and Description |
---|---|
void |
renderTo(Appendable appendable,
String templateProviderPluginKey,
String templateName,
Map<String,Object> data,
Map<String,Object> injectedData)
Render a plugin-provided template to a Writer.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
render, render, renderTo
public ConfluenceSoyTemplateRenderer(com.atlassian.soy.renderer.SoyTemplateRenderer delegate)
public void renderTo(Appendable appendable, String templateProviderPluginKey, String templateName, Map<String,Object> data, Map<String,Object> injectedData) throws TemplateRenderingException
TemplateRenderer
renderTo
in interface TemplateRenderer
appendable
- the buffer to write the template output intotemplateProviderPluginKey
- the plugin that provides the template as a resourcetemplateName
- the name of the plugin resource that contains the templatedata
- the data to pass into the templateinjectedData
- injected data to pass into the templateTemplateRenderingException
- if something goes wrong during the renderingCopyright © 2003–2017 Atlassian. All rights reserved.