public class EmbeddedVideoRenderer extends AbstractEmbeddedResourceRenderer
TEMPLATE_PATH, validEmbedTags, validObjectTags, validParamTags, WRAPPER_TEMPLATE_PATH| Constructor and Description |
|---|
EmbeddedVideoRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDefaultHeight()
Returns the default height of the embedded object for when no height is specified.
|
protected String |
getDefaultWidth()
Returns the default width of the embedded object for when no width is specified.
|
boolean |
matchesType(EmbeddedObject resource)
Returns true if the renderer matches the resource
|
protected Map<String,Object> |
refineParams(Attachment attachment,
Map<String,Object> properties)
Provides the opportunity for a specialisation to customise any parameters / properties.
|
getXsrfTokenGenerator, renderResource, setupObjectProperties, setXsrfTokenGeneratorprotected Map<String,Object> refineParams(Attachment attachment, Map<String,Object> properties)
AbstractEmbeddedResourceRendererrefineParams in class AbstractEmbeddedResourceRendererattachment - the attachment to processproperties - the parameters to be added to or alteredpublic boolean matchesType(EmbeddedObject resource)
EmbeddedResourceRendererresource - the resource to matchprotected String getDefaultWidth()
AbstractEmbeddedResourceRendererValue will be directly rendered into the HTML.
getDefaultWidth in class AbstractEmbeddedResourceRendererprotected String getDefaultHeight()
AbstractEmbeddedResourceRendererValue will be directly rendered into the HTML.
getDefaultHeight in class AbstractEmbeddedResourceRendererCopyright © 2003–2015 Atlassian. All rights reserved.