Class AbstractNoParameterSignableMacro

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

    public abstract class AbstractNoParameterSignableMacro
    extends AbstractSignableMacro<Object>
    Base class for a signable macro which does not support any parameter.
    Since:
    6.1M2
    Version:
    $Id: 6fb1e840872547a6f7d6718b7863af7e13655140 $
    • Field Summary

      • Fields inherited from class org.xwiki.rendering.macro.AbstractMacro

        beanManager, DEFAULT_CATEGORY_CONTENT, DEFAULT_CATEGORY_DEPRECATED, DEFAULT_CATEGORY_DEVELOPMENT, DEFAULT_CATEGORY_FORMATTING, DEFAULT_CATEGORY_INTERNAL, DEFAULT_CATEGORY_LAYOUT, DEFAULT_CATEGORY_NAVIGATION
    • Method Summary

      • Methods inherited from class org.xwiki.rendering.macro.AbstractMacro

        compareTo, getDescriptor, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getNonGeneratedContentMetaData, getPriority, initialize, setDefaultCategories, setDescriptor, setPriority
      • Methods inherited from interface org.xwiki.rendering.macro.Macro

        execute, supportsInlineMode
    • Constructor Detail

      • AbstractNoParameterSignableMacro

        public AbstractNoParameterSignableMacro​(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)
      • AbstractNoParameterSignableMacro

        public AbstractNoParameterSignableMacro​(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
      • AbstractNoParameterSignableMacro

        public AbstractNoParameterSignableMacro​(String name,
                                                String description,
                                                org.xwiki.rendering.macro.descriptor.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.