Package 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: c9765a2421ca1ab9ecb5beedec71dcf3ba889a0a $
-
-
Field Summary
-
Fields inherited from class org.xwiki.rendering.macro.AbstractMacro
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEPRECATED, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_INTERNAL, DEFAULT_CATEGORY_LAYOUT, DEFAULT_CATEGORY_NAVIGATION
-
-
Constructor Summary
Constructors Constructor Description AbstractNoParameterMacro(String name)
Create and initialize a descriptor with no parameters.AbstractNoParameterMacro(String name, String description)
Create and initialize a descriptor with no parameters.AbstractNoParameterMacro(String name, String description, ContentDescriptor contentDescriptor)
Create and initialize a descriptor with no parameters.
-
Method Summary
-
Methods inherited from class org.xwiki.rendering.macro.AbstractMacro
compareTo, getDescriptor, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getPriority, initialize, setDefaultCategories, setDescriptor, setPriority
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.xwiki.rendering.macro.Macro
execute, supportsInlineMode
-
-
-
-
Constructor Detail
-
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
- theContentDescriptor
describing the content of this macro.- Since:
- 3.2M3
-
-