@Component(role=ParserManager.class) public class DefaultParserManager extends Object implements ParserManager
ParserManager
interface.ROLE
Constructor and Description |
---|
DefaultParserManager() |
public Parser getParser(String id) throws ParserNotFoundException
getParser
in interface ParserManager
id
- The identifier.ParserNotFoundException
- if no parser could be found
for the given id.Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.