public class DefaultMacroDescriptor extends AbstractMacroDescriptor
| Constructor and 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) |
extractParameterDescriptorMap, getContentDescriptor, getDefaultCategory, getDescription, getId, getName, getParameterDescriptorMap, getParametersBeanClass, setDefaultCategorypublic DefaultMacroDescriptor(MacroId id, String name)
id - the id of the macroname - the name of the macro (eg "Table Of Contents" for the TOC macro)public DefaultMacroDescriptor(MacroId id, String name, String description)
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.public DefaultMacroDescriptor(MacroId id, String name, String description, ContentDescriptor contentDescriptor)
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.public DefaultMacroDescriptor(MacroId id, String name, String description, ContentDescriptor contentDescriptor, org.xwiki.properties.BeanDescriptor parametersBeanDescriptor)
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.Copyright © 2004–2017 XWiki. All rights reserved.