Class DefaultParserManager
java.lang.Object
org.apache.maven.doxia.parser.manager.DefaultParserManager
- All Implemented Interfaces:
ParserManager
Simple implementation of the
ParserManager
interface.- Since:
- 1.0
- Author:
- Jason van Zyl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultParserManager
public DefaultParserManager()
-
-
Method Details
-
getParser
Returns the parser that corresponds to the given id.- Specified by:
getParser
in interfaceParserManager
- Parameters:
id
- The identifier.- Returns:
- The corresponding parser.
- Throws:
ParserNotFoundException
- if no parser could be found for the given id.
-