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 java.lang.String |
ROLE
The Plexus lookup role. |
Method Summary |
Parser |
getParser(java.lang.String id)
Returns the parser that corresponds to the given id. |
ROLE
static final java.lang.String ROLE
- The Plexus lookup role.
getParser
Parser getParser(java.lang.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-2010 Apache Software Foundation. All Rights Reserved.