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 |
Method Summary |
java.lang.String |
execute(java.util.Map parameters,
java.lang.String body,
com.atlassian.renderer.RenderContext renderContext)
|
com.atlassian.renderer.v2.RenderMode |
getBodyRenderMode()
|
boolean |
hasBody()
|
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 java.lang.String SPACE_KEY
- See Also:
- Constant Field Values
PAGE_KEY
public static final java.lang.String PAGE_KEY
- See Also:
- Constant Field Values
NAME_KEY
public static final java.lang.String NAME_KEY
- See Also:
- Constant Field Values
DATE_KEY
public static final java.lang.String DATE_KEY
- See Also:
- Constant Field Values
WIDTH_KEY
public static final java.lang.String WIDTH_KEY
- See Also:
- Constant Field Values
HEIGHT_KEY
public static final java.lang.String HEIGHT_KEY
- See Also:
- Constant Field Values
AUTO_PLAY
public static final java.lang.String AUTO_PLAY
- See Also:
- Constant Field Values
BLOGPOST_DATE_FIELD_FORMAT
public static final java.lang.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 java.lang.String execute(java.util.Map parameters,
java.lang.String body,
com.atlassian.renderer.RenderContext renderContext)
throws com.atlassian.renderer.v2.macro.MacroException
- Throws:
com.atlassian.renderer.v2.macro.MacroException
Copyright © 2003-2011 Atlassian. All Rights Reserved.