org.xwiki.rendering.macro.descriptor
Class DefaultMacroDescriptor

java.lang.Object
  extended by org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor
      extended by 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)
           
 
Method Summary
 
Methods inherited from class org.xwiki.rendering.macro.descriptor.AbstractMacroDescriptor
extractParameterDescriptorMap, getContentDescriptor, getDefaultCategory, getDescription, getId, getName, getParameterDescriptorMap, getParametersBeanClass, setDefaultCategory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultMacroDescriptor

public DefaultMacroDescriptor(MacroId id,
                              String name)
Parameters:
id - the id of the macro
name - 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 macro
name - 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 macro
name - 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 macro
name - 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–2014 XWiki. All rights reserved.