Interface ParserManager
-
- All Known Implementing Classes:
DefaultParserManager
public interface ParserManager
Handles parser lookups.- Since:
- 1.0
- Author:
- Jason van Zyl
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.
-
-