org.apache.falcon.entity.parser
Class EntityParserFactory
java.lang.Object
org.apache.falcon.entity.parser.EntityParserFactory
public final class EntityParserFactory
- extends Object
Factory Class which returns the Parser based on the EntityType.
Method Summary |
static EntityParser |
getParser(EntityType entityType)
Tie EnityType with the Entity Class in one place so that it can be
unmarshalled easily by concrete classes based on the class type using
JAXB. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getParser
public static EntityParser getParser(EntityType entityType)
- Tie EnityType with the Entity Class in one place so that it can be
unmarshalled easily by concrete classes based on the class type using
JAXB.
- Parameters:
entityType
- - entity type
- Returns:
- concrete parser based on entity type
Copyright © 2013-2014 Apache Software Foundation. All Rights Reserved.