org.xwiki.rendering.macro
Class AbstractNoParameterMacro
java.lang.Object
org.xwiki.rendering.macro.AbstractMacro<Object>
org.xwiki.rendering.macro.AbstractNoParameterMacro
- All Implemented Interfaces:
- Comparable<Macro<?>>, org.xwiki.component.phase.Initializable, Macro<Object>
public abstract class AbstractNoParameterMacro
- extends AbstractMacro<Object>
Base class for a macro which does not support any parameter.
- Since:
- 1.6M1
- Version:
- $Id: a561542efe4e0a8d148b2fed6d4dcfa120287706 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractNoParameterMacro
public AbstractNoParameterMacro(String name)
- Create and initialize a descriptor with no parameters.
- Parameters:
name - the name of the macro (eg "Table Of Contents" for the TOC macro)- Since:
- 2.0M3
AbstractNoParameterMacro
public AbstractNoParameterMacro(String name,
String description)
- Create and initialize a descriptor with no parameters.
- Parameters:
name - the name of the macro (eg "Table Of Contents" for the TOC macro)description - the description of the macro- Since:
- 2.0M3
AbstractNoParameterMacro
public AbstractNoParameterMacro(String name,
String description,
ContentDescriptor contentDescriptor)
- Create and initialize a descriptor with no parameters.
- Parameters:
name - the name of the macro (eg "Table Of Contents" for the TOC macro)description - the description of the macrocontentDescriptor - the ContentDescriptor describing the content of this macro.- Since:
- 3.2M3
Copyright © 2004-2012 XWiki. All Rights Reserved.