org.xwiki.rendering.macro
Class AbstractNoParameterMacro

java.lang.Object
  extended by org.xwiki.rendering.macro.AbstractMacro<java.lang.Object>
      extended by org.xwiki.rendering.macro.AbstractNoParameterMacro
All Implemented Interfaces:
java.lang.Comparable<Macro<?>>, org.xwiki.component.phase.Initializable, Macro<java.lang.Object>

public abstract class AbstractNoParameterMacro
extends AbstractMacro<java.lang.Object>

Base class for a macro which does not support any parameter.

Since:
1.6M1
Version:
$Id$

Field Summary
 
Fields inherited from class org.xwiki.rendering.macro.AbstractMacro
beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_NAVIGATION
 
Constructor Summary
AbstractNoParameterMacro(java.lang.String name)
          Create and initialize a descriptor with no parameters.
AbstractNoParameterMacro(java.lang.String name, java.lang.String description)
          Create and initialize a descriptor with no parameters.
 
Method Summary
 
Methods inherited from class org.xwiki.rendering.macro.AbstractMacro
compareTo, getDescriptor, getPriority, initialize, setDefaultCategory, 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(java.lang.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(java.lang.String name,
                                java.lang.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


Copyright © 2004-2011 XWiki. All Rights Reserved.