|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.plugins.soy.VelocityFriendlySoyTemplateRenderer
public class VelocityFriendlySoyTemplateRenderer
A template renderer shim with an interface suitable for use from VelocityTemplates.
Constructor Summary | |
---|---|
VelocityFriendlySoyTemplateRenderer(TemplateRenderer templateRenderer)
|
Method Summary | |
---|---|
java.lang.String |
getRenderedTemplateHtml(java.lang.String templateProviderPluginKey,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.Object> data)
Render a plugin-provided template and return as a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VelocityFriendlySoyTemplateRenderer(TemplateRenderer templateRenderer)
Method Detail |
---|
public java.lang.String getRenderedTemplateHtml(java.lang.String templateProviderPluginKey, java.lang.String templateName, java.util.Map<java.lang.String,java.lang.Object> data)
templateProviderPluginKey
- 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 template
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |