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 567311 2007-08-18 18:30:54Z 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-2011 Apache Software Foundation. All Rights Reserved.