com.atlassian.bamboo.plugin.web
Class FreemarkerWebPanelRenderer

java.lang.Object
  extended by com.atlassian.bamboo.plugin.web.FreemarkerWebPanelRenderer
All Implemented Interfaces:
com.atlassian.plugin.web.renderer.WebPanelRenderer

public class FreemarkerWebPanelRenderer
extends java.lang.Object
implements com.atlassian.plugin.web.renderer.WebPanelRenderer


Constructor Summary
FreemarkerWebPanelRenderer(TemplateRenderer templateRenderer)
           
 
Method Summary
 java.lang.String getResourceType()
           
 void render(java.lang.String templateName, com.atlassian.plugin.Plugin plugin, java.util.Map<java.lang.String,java.lang.Object> context, java.io.Writer writer)
           
 java.lang.String renderFragment(java.lang.String fragment, com.atlassian.plugin.Plugin plugin, java.util.Map<java.lang.String,java.lang.Object> context)
           
 void renderFragment(java.io.Writer writer, java.lang.String fragment, com.atlassian.plugin.Plugin plugin, java.util.Map<java.lang.String,java.lang.Object> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FreemarkerWebPanelRenderer

public FreemarkerWebPanelRenderer(TemplateRenderer templateRenderer)
Method Detail

getResourceType

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

render

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

renderFragment

public java.lang.String renderFragment(java.lang.String fragment,
                                       com.atlassian.plugin.Plugin plugin,
                                       java.util.Map<java.lang.String,java.lang.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(java.io.Writer writer,
                           java.lang.String fragment,
                           com.atlassian.plugin.Plugin plugin,
                           java.util.Map<java.lang.String,java.lang.Object> context)
                    throws com.atlassian.plugin.web.renderer.RendererException,
                           java.io.IOException
Specified by:
renderFragment in interface com.atlassian.plugin.web.renderer.WebPanelRenderer
Throws:
com.atlassian.plugin.web.renderer.RendererException
java.io.IOException


Copyright © 2012 Atlassian. All Rights Reserved.