org.apache.maven.doxia.parser.manager
Class DefaultParserManager
java.lang.Object
org.apache.maven.doxia.parser.manager.DefaultParserManager
- All Implemented Interfaces:
- ParserManager
public class DefaultParserManager
- extends Object
- implements ParserManager
Simple implementation of the ParserManager
interface.
- Since:
- 1.0
- Version:
- $Id: DefaultParserManager.java 1090706 2011-04-09 23:15:28Z hboutemy $
- Author:
- Jason van Zyl
- Plexus component
Fields inherited from interface org.apache.maven.doxia.parser.manager.ParserManager |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultParserManager
public DefaultParserManager()
getParser
public Parser getParser(String id)
throws ParserNotFoundException
- Returns the parser that corresponds to the given id.
- Specified by:
getParser
in interface ParserManager
- 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.