public class ConfluenceSoyTemplateRenderer extends Object implements TemplateRenderer
| Constructor and Description |
|---|
ConfluenceSoyTemplateRenderer(com.atlassian.soy.renderer.SoyTemplateRenderer delegate) |
| Modifier and Type | Method and Description |
|---|---|
Streamable |
render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data)
Render a plugin-provided template as a Streamable.
|
Streamable |
render(String templateProviderPluginKey,
String templateName,
Map<String,Object> data,
Map<String,Object> injectedData)
Render a plugin-provided template as a Streamable.
|
void |
renderTo(Appendable appendable,
String templateProviderPluginKey,
String templateName,
Map<String,Object> data)
Render a plugin-provided template to a Writer.
|
void |
renderTo(Appendable appendable,
String templateProviderPluginKey,
String templateName,
Map<String,Object> data,
Map<String,Object> injectedData)
Render a plugin-provided template to a Writer.
|
public ConfluenceSoyTemplateRenderer(com.atlassian.soy.renderer.SoyTemplateRenderer delegate)
public void renderTo(Appendable appendable, String templateProviderPluginKey, String templateName, Map<String,Object> data) throws TemplateRenderingException
TemplateRendererrenderTo in interface TemplateRendererappendable - 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 templateTemplateRenderingException - if something goes wrong during the renderingpublic Streamable render(String templateProviderPluginKey, String templateName, Map<String,Object> data) throws TemplateRenderingException
TemplateRendererrender in interface TemplateRenderertemplateProviderPluginKey - 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 templateTemplateRenderingException - if something goes wrong during the renderingpublic void renderTo(Appendable appendable, String templateProviderPluginKey, String templateName, Map<String,Object> data, Map<String,Object> injectedData) throws TemplateRenderingException
TemplateRendererrenderTo in interface TemplateRendererappendable - 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 renderingpublic Streamable render(String templateProviderPluginKey, String templateName, Map<String,Object> data, Map<String,Object> injectedData) throws TemplateRenderingException
TemplateRendererrender in interface TemplateRenderertemplateProviderPluginKey - 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–2022 Atlassian. All rights reserved.