org.apache.maven.doxia.parser.manager
Interface ParserManager

All Known Implementing Classes:
DefaultParserManager

public interface ParserManager

Handles parser lookups.

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

Field Summary
static String ROLE
          The Plexus lookup role.
 
Method Summary
 Parser getParser(String id)
          Returns the parser that corresponds to the given id.
 

Field Detail

ROLE

static final String ROLE
The Plexus lookup role.

Method Detail

getParser

Parser getParser(String id)
                 throws ParserNotFoundException
Returns the parser that corresponds to the given id.

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


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