Class AbstractMacro

    • Field Summary

      • Fields inherited from interface org.apache.maven.doxia.macro.Macro

        EOL
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractMacro()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static org.apache.maven.doxia.sink.SinkEventAttributes getAttributesFromMap​(java.util.Map<?,​?> parameters)
      Convert the Map of macro parameters to an AttributeSet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.maven.doxia.macro.Macro

        execute
    • Constructor Detail

      • AbstractMacro

        public AbstractMacro()
    • Method Detail

      • getAttributesFromMap

        protected static org.apache.maven.doxia.sink.SinkEventAttributes getAttributesFromMap​(java.util.Map<?,​?> parameters)
        Convert the Map of macro parameters to an AttributeSet. No check of validity is done, all parameters are added.
        Parameters:
        parameters - the macro parameters.
        Returns:
        a SinkEventAttributeSet containing the same parameters, or null if parameters is null.
        Since:
        1.1.1.