org.apache.maven.doxia.parser.manager
Class DefaultParserManager

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface org.apache.maven.doxia.parser.manager.ParserManager
ROLE
 
Constructor Summary
DefaultParserManager()
           
 
Method Summary
 Parser getParser(String id)
          Returns the parser that corresponds to the given id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultParserManager

public DefaultParserManager()
Method Detail

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.