Package org.xwiki.rendering.macro
Class AbstractNoParameterSignableMacro
- java.lang.Object
-
- org.xwiki.rendering.macro.AbstractMacro<P>
-
- org.xwiki.rendering.macro.AbstractSignableMacro<Object>
-
- org.xwiki.rendering.macro.AbstractNoParameterSignableMacro
-
- All Implemented Interfaces:
Comparable<org.xwiki.rendering.macro.Macro<?>>
,org.xwiki.component.phase.Initializable
,org.xwiki.rendering.macro.Macro<Object>
,SignableMacro
public abstract class AbstractNoParameterSignableMacro extends AbstractSignableMacro<Object>
Base class for a signable macro which does not support any parameter.- Since:
- 6.1M2
- Version:
- $Id: 6fb1e840872547a6f7d6718b7863af7e13655140 $
-
-
Constructor Summary
Constructors Constructor Description AbstractNoParameterSignableMacro(String name)
Create and initialize a descriptor with no parameters.AbstractNoParameterSignableMacro(String name, String description)
Create and initialize a descriptor with no parameters.AbstractNoParameterSignableMacro(String name, String description, org.xwiki.rendering.macro.descriptor.ContentDescriptor contentDescriptor)
Create and initialize a descriptor with no parameters.
-
Method Summary
-
Methods inherited from class org.xwiki.rendering.macro.AbstractSignableMacro
getComponentManager, sign, verify
-
Methods inherited from class org.xwiki.rendering.macro.AbstractMacro
compareTo, getDescriptor, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getPriority, initialize, setDefaultCategories, setDescriptor, setPriority
-
-
-
-
Constructor Detail
-
AbstractNoParameterSignableMacro
public AbstractNoParameterSignableMacro(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)
-
AbstractNoParameterSignableMacro
public AbstractNoParameterSignableMacro(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
-
AbstractNoParameterSignableMacro
public AbstractNoParameterSignableMacro(String name, String description, org.xwiki.rendering.macro.descriptor.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
- theContentDescriptor
describing the content of this macro.
-
-