public class

ResourceTemplateWebPanel

extends AbstractWebPanel
java.lang.Object
   ↳ com.atlassian.plugin.web.model.AbstractWebPanel
     ↳ com.atlassian.plugin.web.model.ResourceTemplateWebPanel

Class Overview

This class is used for web panel declaration that do not have a custom class attribute in their descriptor, but do have a location attribute in their resource child element, which points to a template file on the (plugin's) classpath.

Summary

[Expand]
Inherited Fields
From class com.atlassian.plugin.web.model.AbstractWebPanel
Public Constructors
ResourceTemplateWebPanel(PluginAccessor pluginAccessor)
Public Methods
String getHtml(Map<StringObject> context)
void setResourceFilename(String resourceFilename)
Specifies the name of the template file that is to be rendered.
[Expand]
Inherited Methods
From class com.atlassian.plugin.web.model.AbstractWebPanel
From class java.lang.Object
From interface com.atlassian.plugin.web.model.WebPanel

Public Constructors

public ResourceTemplateWebPanel (PluginAccessor pluginAccessor)

Public Methods

public String getHtml (Map<StringObject> context)

public void setResourceFilename (String resourceFilename)

Specifies the name of the template file that is to be rendered. This file will be loaded from the (plugin's) classpath.

Parameters
resourceFilename the name of the template file that is to be rendered. May not be null.