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, setBeanManagercompareTo, getDescriptor, getPriority, initialize, setDefaultCategory, setDescriptor, setPrioritypublic 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