public class FreemarkerWebPanelRenderer extends Object implements com.atlassian.plugin.web.renderer.WebPanelRenderer
Constructor and Description |
---|
FreemarkerWebPanelRenderer(TemplateRenderer templateRenderer) |
Modifier and Type | Method and Description |
---|---|
String |
getResourceType() |
void |
render(String templateName,
com.atlassian.plugin.Plugin plugin,
Map<String,Object> context,
Writer writer) |
String |
renderFragment(String fragment,
com.atlassian.plugin.Plugin plugin,
Map<String,Object> context) |
void |
renderFragment(Writer writer,
String fragment,
com.atlassian.plugin.Plugin plugin,
Map<String,Object> context) |
public FreemarkerWebPanelRenderer(TemplateRenderer templateRenderer)
public String getResourceType()
getResourceType
in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
public void render(String templateName, com.atlassian.plugin.Plugin plugin, Map<String,Object> context, Writer writer) throws com.atlassian.plugin.web.renderer.RendererException, IOException
render
in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
com.atlassian.plugin.web.renderer.RendererException
IOException
public String renderFragment(String fragment, com.atlassian.plugin.Plugin plugin, Map<String,Object> context) throws com.atlassian.plugin.web.renderer.RendererException
renderFragment
in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
com.atlassian.plugin.web.renderer.RendererException
public void renderFragment(Writer writer, String fragment, com.atlassian.plugin.Plugin plugin, Map<String,Object> context) throws com.atlassian.plugin.web.renderer.RendererException, IOException
renderFragment
in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
com.atlassian.plugin.web.renderer.RendererException
IOException
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.