Package org.apache.abdera.parser
Interface ParserFactory
-
@Deprecated(since="2021-07-29") public interface ParserFactory
Deprecated.This API is deprecated as Apache Abdera is a retired project since 2017.The ParserFactory is used a acquire instances of alternative parsers registered with Abdera.- See Also:
NamedParser
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T extends Parser>
TgetParser()
Deprecated.Get the default parser.<T extends Parser>
TgetParser(java.lang.String name)
Deprecated.Get the named parser
-
-
-
Method Detail
-
getParser
<T extends Parser> T getParser()
Deprecated.Get the default parser. This is equivalent to calling Abdera.getParser()- Returns:
- The default parser implementation
-
getParser
<T extends Parser> T getParser(java.lang.String name)
Deprecated.Get the named parser- Parameters:
name
- The name of the parser instance to retrieve- Returns:
- The Named parser instance
-
-