public abstract class DefaultXWikiNoParameterMacro extends DefaultXWikiMacro<Object>
You need to create a constructor that takes no arguments.
Constructor and Description |
---|
DefaultXWikiNoParameterMacro(String name) |
Modifier and Type | Method and Description |
---|---|
List<org.xwiki.rendering.block.Block> |
execute(Object parameters,
String content,
org.xwiki.rendering.transformation.MacroTransformationContext context) |
protected abstract List<org.xwiki.rendering.block.Block> |
execute(String content,
org.xwiki.rendering.transformation.MacroTransformationContext context) |
getMacroName, setBeanManager
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPriority
public DefaultXWikiNoParameterMacro(String name)
public final List<org.xwiki.rendering.block.Block> execute(Object parameters, String content, org.xwiki.rendering.transformation.MacroTransformationContext context) throws org.xwiki.rendering.macro.MacroExecutionException
org.xwiki.rendering.macro.MacroExecutionException