org.apache.abdera.parser.stax
Class FOMParserFactory

java.lang.Object
  extended by org.apache.abdera.parser.stax.FOMParserFactory
All Implemented Interfaces:
ParserFactory

public class FOMParserFactory
extends Object
implements ParserFactory


Constructor Summary
FOMParserFactory()
           
FOMParserFactory(Abdera abdera)
           
 
Method Summary
protected  Abdera getAbdera()
           
<T extends Parser>
T
getParser()
          Get the default parser.
<T extends Parser>
T
getParser(String name)
          Get the named parser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FOMParserFactory

public FOMParserFactory()

FOMParserFactory

public FOMParserFactory(Abdera abdera)
Method Detail

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.