Class DefaultMacroManager

    • Field Summary

      • Fields inherited from interface org.apache.maven.doxia.macro.manager.MacroManager

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Macro getMacro​(java.lang.String id)
      Returns the MacroManager that corresponds to the given id.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultMacroManager

        public DefaultMacroManager()
    • Method Detail

      • getMacro

        public Macro getMacro​(java.lang.String id)
                       throws MacroNotFoundException
        Returns the MacroManager that corresponds to the given id.
        Specified by:
        getMacro in interface MacroManager
        Parameters:
        id - The identifier.
        Returns:
        The corresponding MacroManager.
        Throws:
        MacroNotFoundException - if no MacroManager could be found for the given id.