Interface EmbeddedResourceRenderer
-
public interface EmbeddedResourceRenderer
Interface for embedded resource renderers. Used by the embedded-resource-renderer plugin module.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matchesType(EmbeddedObject resource)
Returns true if the renderer matches the resourceString
renderResource(EmbeddedObject resource, com.atlassian.renderer.RenderContext context)
Render the embedded resource to a string.
-
-
-
Method Detail
-
renderResource
String renderResource(EmbeddedObject resource, com.atlassian.renderer.RenderContext context)
Render the embedded resource to a string.- Parameters:
resource
- to be renderedcontext
- of render- Returns:
- html source for the object element
-
matchesType
boolean matchesType(EmbeddedObject resource)
Returns true if the renderer matches the resource- Parameters:
resource
- the resource to match- Returns:
- true if the resource matches
-
-