Interface ParserManager
-
- All Known Implementing Classes:
DefaultParserManager
public interface ParserManager
Handles parser lookups.- Since:
- 1.0
- Version:
- $Id$
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ROLE
The Plexus lookup role.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Parser
getParser(java.lang.String id)
Returns the parser that corresponds to the given id.
-
-
-
Method Detail
-
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.
-
-