org.apache.abdera.parser
Interface ParserFactory


public interface ParserFactory

The ParserFactory is used a acquire instances of alternative parsers registered with Abdera.

See Also:
NamedParser

Method Summary
 Parser getParser()
          Get the default parser.
 Parser getParser(java.lang.String name)
          Get the named parser
 

Method Detail

getParser

Parser getParser()
Get the default parser. This is equivalent to calling Abdera.getParser()

Returns:
The default parser implementation

getParser

Parser getParser(java.lang.String name)
Get the named parser

Parameters:
name - The name of the parser instance to retrieve
Returns:
The Named parser instance