com.atlassian.confluence.plugins.macros.core.renderer
Class EmbeddedFlashRenderer
java.lang.Object
com.atlassian.confluence.plugins.macros.core.renderer.AbstractEmbeddedResourceRenderer
com.atlassian.confluence.plugins.macros.core.renderer.EmbeddedFlashRenderer
- All Implemented Interfaces:
- EmbeddedResourceRenderer
public class EmbeddedFlashRenderer
- extends AbstractEmbeddedResourceRenderer
Renders a flash (swf) attachment as HTML. Renders using velocity.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_TYPE
public static final String RESOURCE_TYPE
- See Also:
- Constant Field Values
EmbeddedFlashRenderer
public EmbeddedFlashRenderer()
refineParams
protected Map<String,Object> refineParams(Attachment attachment,
Map<String,Object> properties)
- Description copied from class:
AbstractEmbeddedResourceRenderer
- Provides the opportunity for a specialisation to customise any parameters / properties. e.g.
Setting the width and height based on the actual content.
- Specified by:
refineParams
in class AbstractEmbeddedResourceRenderer
- Parameters:
attachment
- the attachment to processproperties
- the parameters to be added to or altered
- Returns:
- a new/updated map of parameters
matchesType
public boolean matchesType(EmbeddedObject resource)
- Description copied from interface:
EmbeddedResourceRenderer
- Returns true if the renderer matches the resource
- Parameters:
resource
- the resource to match
- Returns:
- true if the resource matches
Copyright © 2003-2012 Atlassian. All Rights Reserved.