org.xwiki.rendering.internal.macro.gallery
Class DefaultGalleryMacro
java.lang.Object
org.xwiki.rendering.macro.AbstractMacro<Object>
org.xwiki.rendering.internal.macro.gallery.DefaultGalleryMacro
- All Implemented Interfaces:
- Comparable<org.xwiki.rendering.macro.Macro<?>>, org.xwiki.component.phase.Initializable, org.xwiki.rendering.macro.Macro<Object>
@Component
@Named(value="gallery")
@Singleton
public class DefaultGalleryMacro
- extends org.xwiki.rendering.macro.AbstractMacro<Object>
Displays the images found in the provided content using a slide-show view.
- Since:
- 3.0M3
- Version:
- $Id$
| Fields inherited from class org.xwiki.rendering.macro.AbstractMacro |
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION |
| Methods inherited from class org.xwiki.rendering.macro.AbstractMacro |
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPriority |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultGalleryMacro
public DefaultGalleryMacro()
- Create and initialize the descriptor of the macro.
execute
public List<org.xwiki.rendering.block.Block> execute(Object parameters,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context)
throws org.xwiki.rendering.macro.MacroExecutionException
-
- Throws:
org.xwiki.rendering.macro.MacroExecutionException- See Also:
Macro.execute(Object, String, MacroTransformationContext)
supportsInlineMode
public boolean supportsInlineMode()
-
- See Also:
Macro.supportsInlineMode()
Copyright © 2004-2011 XWiki. All Rights Reserved.