org.apache.abdera.parser.stax
Class FOMParserFactory
java.lang.Object
org.apache.abdera.parser.stax.FOMParserFactory
- All Implemented Interfaces:
- ParserFactory
public class FOMParserFactory
- extends Object
- implements ParserFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FOMParserFactory
public FOMParserFactory()
FOMParserFactory
public FOMParserFactory(Abdera abdera)
getAbdera
protected Abdera getAbdera()
getParser
public <T extends Parser> T getParser()
- Description copied from interface:
ParserFactory
- Get the default parser. This is equivalent to calling Abdera.getParser()
- Specified by:
getParser
in interface ParserFactory
- Returns:
- The default parser implementation
getParser
public <T extends Parser> T getParser(String name)
- Description copied from interface:
ParserFactory
- Get the named parser
- Specified by:
getParser
in interface ParserFactory
- Parameters:
name
- The name of the parser instance to retrieve
- Returns:
- The Named parser instance
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.