Class DefaultMacroDescriptor
- java.lang.Object
-
- org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor
-
- org.xwiki.rendering.macro.descriptor.DefaultMacroDescriptor
-
- All Implemented Interfaces:
MacroDescriptor
public class DefaultMacroDescriptor extends AbstractMacroDescriptor
Describe a macro with no parameters.- Since:
- 1.6M1
- Version:
- $Id: fccc26f7990071f2818cc9f6967951d7de57085e $
-
-
Constructor Summary
Constructors Constructor Description DefaultMacroDescriptor(MacroId id, String name)
DefaultMacroDescriptor(MacroId id, String name, String description)
DefaultMacroDescriptor(MacroId id, String name, String description, ContentDescriptor contentDescriptor)
DefaultMacroDescriptor(MacroId id, String name, String description, ContentDescriptor contentDescriptor, org.xwiki.properties.BeanDescriptor parametersBeanDescriptor)
-
Method Summary
-
Methods inherited from class org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor
extractParameterDescriptorMap, getContentDescriptor, getDefaultCategories, getDescription, getId, getName, getParameterDescriptorMap, getParametersBeanClass, setDefaultCategories, setSupportsInlineMode, supportsInlineMode
-
-
-
-
Constructor Detail
-
DefaultMacroDescriptor
public DefaultMacroDescriptor(MacroId id, String name)
- Parameters:
id
- the id of the macroname
- the name of the macro (eg "Table Of Contents" for the TOC macro)- Since:
- 2.3M1
-
DefaultMacroDescriptor
public DefaultMacroDescriptor(MacroId id, String name, String description)
- Parameters:
id
- the id of the macroname
- the name of the macro (eg "Table Of Contents" for the TOC macro)description
- the description of the macro.- Since:
- 2.3M1
-
DefaultMacroDescriptor
public DefaultMacroDescriptor(MacroId id, String name, String description, ContentDescriptor contentDescriptor)
- Parameters:
id
- the id of the macroname
- the name of the macro (eg "Table Of Contents" for the TOC macro)description
- the description of the macro.contentDescriptor
- description of the macro content.- Since:
- 2.3M1
-
DefaultMacroDescriptor
public DefaultMacroDescriptor(MacroId id, String name, String description, ContentDescriptor contentDescriptor, org.xwiki.properties.BeanDescriptor parametersBeanDescriptor)
- Parameters:
id
- the id of the macroname
- the name of the macro (eg "Table Of Contents" for the TOC macro)description
- the description of the macro.contentDescriptor
- the description of the macro content. null indicate macro does not support content.parametersBeanDescriptor
- the description of the parameters bean.- Since:
- 2.3M1
-
-