com.atlassian.confluence.renderer.soy
Interface SoyTemplateRenderer


public interface SoyTemplateRenderer

Provides methods for rendering Closure (Soy) templates on the server

Since:
4.1.

Method Summary
 String render(String completeModuleKey, String templateName, Map<String,Object> data)
          Render a single template with the supplied data.
 

Method Detail

render

String render(String completeModuleKey,
              String templateName,
              Map<String,Object> data)
Render a single template with the supplied data. Note: an empty string is returned if there is an error rendering the template.

Parameters:
completeModuleKey - the complete module key of the plugin which the template is in
templateName - name of the soy template to render
data - a string keyed map of data to render the template with
Returns:
the rendered template string


Copyright © 2003-2012 Atlassian. All Rights Reserved.