Class FreemarkerWebPanelRenderer

  • All Implemented Interfaces:
    com.atlassian.plugin.web.renderer.WebPanelRenderer

    public class FreemarkerWebPanelRenderer
    extends Object
    implements com.atlassian.plugin.web.renderer.WebPanelRenderer
    • Constructor Detail

      • FreemarkerWebPanelRenderer

        public FreemarkerWebPanelRenderer​(TemplateRenderer templateRenderer)
    • Method Detail

      • getResourceType

        public String getResourceType()
        Specified by:
        getResourceType in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
      • render

        public void render​(String templateName,
                           com.atlassian.plugin.Plugin plugin,
                           Map<String,​Object> context,
                           Writer writer)
                    throws com.atlassian.plugin.web.renderer.RendererException,
                           IOException
        Specified by:
        render in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
        Throws:
        com.atlassian.plugin.web.renderer.RendererException
        IOException
      • renderFragment

        public String renderFragment​(String fragment,
                                     com.atlassian.plugin.Plugin plugin,
                                     Map<String,​Object> context)
                              throws com.atlassian.plugin.web.renderer.RendererException
        Specified by:
        renderFragment in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
        Throws:
        com.atlassian.plugin.web.renderer.RendererException
      • renderFragment

        public void renderFragment​(Writer writer,
                                   String fragment,
                                   com.atlassian.plugin.Plugin plugin,
                                   Map<String,​Object> context)
                            throws com.atlassian.plugin.web.renderer.RendererException,
                                   IOException
        Specified by:
        renderFragment in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
        Throws:
        com.atlassian.plugin.web.renderer.RendererException
        IOException