public interface WebPanel
getHtml(java.util.Map) is inserted into the
host application's page, so it has to be valid HTML.
See com.atlassian.plugin.web.descriptors.DefaultWebPanelModuleDescriptor#getModule()
| Modifier and Type | Method and Description |
|---|---|
String |
getHtml(Map<String,Object> context)
Returns the HTML that will be placed in the host application's page.
|
void |
writeHtml(Writer writer,
Map<String,Object> context)
Writes the HTML for this panel into the supplied writer.
|
String getHtml(Map<String,Object> context)
context - the contextual information that can be used during
rendering. Context elements are not standardized and are
application-specific, so refer to your application's documentation to
learn what is available.void writeHtml(Writer writer, Map<String,Object> context) throws IOException
getHtml(java.util.Map<java.lang.String, java.lang.Object>) for large panels or for applications that make
frequent use of panels, to avoid creating a lot of large garbage buffer strings.writer - the writer to append the panel output tocontext - the contextual information that can be used during
rendering. Context elements are not standardized and are
application-specific, so refer to your application's documentation to
learn what is available.IOException - if there is some problem writing to the supplied writerCopyright © 2018 Atlassian. All rights reserved.