public class PlaceholderImageRenderer extends Object implements EmbeddedResourceRenderer
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ICON_NAME
The default image that will appear in the img tag created if
ICON_PARAMETER is not specified. |
static String |
ICON_PARAMETER
Key of the parameter to add to the
RenderContext via
RenderContext.addParam(Object, Object) for the image that will be used in
place of movies and missing attachment files in the RTE. |
| Constructor and Description |
|---|
PlaceholderImageRenderer() |
| Modifier and Type | Method and Description |
|---|---|
String |
renderResource(EmbeddedResource resource,
RenderContext context)
Render the embedded resource to a string.
|
public static final String ICON_PARAMETER
RenderContext via
RenderContext.addParam(Object, Object) for the image that will be used in
place of movies and missing attachment files in the RTE. This will be appended to
RenderContext.getImagePath() and embedded in an image tag.public static final String DEFAULT_ICON_NAME
ICON_PARAMETER is not specified.public String renderResource(EmbeddedResource resource, RenderContext context)
EmbeddedResourceRendererrenderResource in interface EmbeddedResourceRendererresource - to be renderedcontext - of renderCopyright © 2019 Atlassian. All rights reserved.