Class WikiMacroParameters

  • All Implemented Interfaces:
    org.xwiki.properties.RawProperties

    public class WikiMacroParameters
    extends Object
    implements org.xwiki.properties.RawProperties
    Generic parameters class for all wiki macros.
    Since:
    2.0M2
    Version:
    $Id: 78f855a6e69397029aeba58e247adafc40df6434 $
    • Constructor Detail

      • WikiMacroParameters

        public WikiMacroParameters()
    • Method Detail

      • set

        public void set​(String propertyName,
                        Object value)
        Specified by:
        set in interface org.xwiki.properties.RawProperties
      • getParameterNames

        public Set<String> getParameterNames()
        Returns the set of parameter names provided by user.
        Returns:
        set of parameter names provided by user
      • get

        public Object get​(String propertyName)
        Returns the parameter value associated with the propertyName provided.
        Parameters:
        propertyName - the property name.
        Returns:
        the property value if set, null otherwise.