org.apache.maven.doxia.macro.manager
Interface MacroManager

All Known Implementing Classes:
DefaultMacroManager

public interface MacroManager

Handles MacroManager lookups.

Since:
1.0
Version:
$Id: MacroManager.java 746978 2009-02-23 12:20:33Z vsiveton $
Author:
Jason van Zyl

Field Summary
static String ROLE
          The Plexus lookup role.
 
Method Summary
 Macro getMacro(String id)
          Returns the MacroManager that corresponds to the given id.
 

Field Detail

ROLE

static final String ROLE
The Plexus lookup role.

Method Detail

getMacro

Macro getMacro(String id)
               throws MacroNotFoundException
Returns the MacroManager that corresponds to the given id.

Parameters:
id - The identifier.
Returns:
The corresponding MacroManager.
Throws:
MacroNotFoundException - if no MacroManager could be found for the given id.


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.