org.xwiki.rendering.macro.descriptor
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: eb691eefe93e54fbc8279161c02069ca4829944d $
|
Constructor Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
Copyright © 2004-2012 XWiki. All Rights Reserved.