com.atlassian.confluence.plugins.macros.core
Class MultimediaMacro
java.lang.Object
com.atlassian.renderer.v2.macro.BaseMacro
com.atlassian.confluence.plugins.macros.core.MultimediaMacro
- All Implemented Interfaces:
- com.atlassian.renderer.v2.macro.Macro
public class MultimediaMacro
- extends com.atlassian.renderer.v2.macro.BaseMacro
A macro to embed multimedia content into a confluence page. The content must be an attachment on
a page in confluence.
Fields inherited from interface com.atlassian.renderer.v2.macro.Macro |
RAW_PARAMS_KEY |
Methods inherited from class com.atlassian.renderer.v2.macro.BaseMacro |
getTokenType, getWysiwygBodyType, isInline, suppressMacroRenderingDuringWysiwyg, suppressSurroundingTagDuringWysiwygRendering |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final org.slf4j.Logger log
SPACE_KEY
public static final String SPACE_KEY
- See Also:
- Constant Field Values
PAGE_KEY
public static final String PAGE_KEY
- See Also:
- Constant Field Values
NAME_KEY
public static final String NAME_KEY
- See Also:
- Constant Field Values
DATE_KEY
public static final String DATE_KEY
- See Also:
- Constant Field Values
WIDTH_KEY
public static final String WIDTH_KEY
- See Also:
- Constant Field Values
HEIGHT_KEY
public static final String HEIGHT_KEY
- See Also:
- Constant Field Values
AUTO_PLAY
public static final String AUTO_PLAY
- See Also:
- Constant Field Values
BLOGPOST_DATE_FIELD_FORMAT
public static final String BLOGPOST_DATE_FIELD_FORMAT
- See Also:
- Constant Field Values
MultimediaMacro
public MultimediaMacro(EmbeddedResourceRendererManager embeddedResourceRendererManager,
PageManager pageManager,
AttachmentManager attachmentManager)
hasBody
public boolean hasBody()
getBodyRenderMode
public com.atlassian.renderer.v2.RenderMode getBodyRenderMode()
execute
public String execute(Map parameters,
String body,
com.atlassian.renderer.RenderContext renderContext)
throws com.atlassian.renderer.v2.macro.MacroException
- Throws:
com.atlassian.renderer.v2.macro.MacroException
Copyright © 2003-2012 Atlassian. All Rights Reserved.