Interface ParserManager

  • All Known Implementing Classes:
    DefaultParserManager

    public interface ParserManager
    Handles parser lookups.
    Since:
    1.0
    Version:
    $Id: ParserManager.java 746978 2009-02-23 12:20:33Z vsiveton $
    Author:
    Jason van Zyl
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String ROLE
      The Plexus lookup role.
    • Field Detail

      • ROLE

        static final java.lang.String ROLE
        The Plexus lookup role.
    • Method Detail

      • getParser

        Parser getParser​(java.lang.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.