Interface EmbeddedResourceRenderer
public interface EmbeddedResourceRenderer
Interface for embedded resource renderers.
Used by the embedded-resource-renderer plugin module.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatchesType(EmbeddedObject resource) Returns true if the renderer matches the resourcerenderResource(EmbeddedObject resource, com.atlassian.renderer.RenderContext context) Render the embedded resource to a string.
-
Method Details
-
renderResource
Render the embedded resource to a string.- Parameters:
resource- to be renderedcontext- of render- Returns:
- html source for the object element
-
matchesType
Returns true if the renderer matches the resource- Parameters:
resource- the resource to match- Returns:
- true if the resource matches
-