com.atlassian.confluence.plugin.web.renderer
Class ConfluenceAwareWebPanelRenderer
java.lang.Object
com.atlassian.confluence.plugin.web.renderer.ConfluenceAwareWebPanelRenderer
- All Implemented Interfaces:
- com.atlassian.plugin.web.renderer.WebPanelRenderer
public class ConfluenceAwareWebPanelRenderer
- extends Object
- implements com.atlassian.plugin.web.renderer.WebPanelRenderer
Renders a web panel in the context of Confluence.
This makes core velocity macros and templates available for use in the velocity template
Method Summary |
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfluenceAwareWebPanelRenderer
public ConfluenceAwareWebPanelRenderer()
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
Copyright © 2003-2013 Atlassian. All Rights Reserved.