Class AbstractNoParameterMacro

  • All Implemented Interfaces:
    Comparable<Macro<?>>, org.xwiki.component.phase.Initializable, Macro<Object>

    public abstract class AbstractNoParameterMacro
    extends AbstractMacro<Object>
    Base class for a macro which does not support any parameter.
    Since:
    1.6M1
    Version:
    $Id: c9765a2421ca1ab9ecb5beedec71dcf3ba889a0a $
    • Constructor Detail

      • AbstractNoParameterMacro

        public AbstractNoParameterMacro​(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​(String name,
                                        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
      • AbstractNoParameterMacro

        public AbstractNoParameterMacro​(String name,
                                        String description,
                                        ContentDescriptor contentDescriptor)
        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
        contentDescriptor - the ContentDescriptor describing the content of this macro.
        Since:
        3.2M3