org.apache.commons.flatfile.entityfactory
Class CompositeEntityFactory
java.lang.Object
org.apache.commons.flatfile.entityfactory.CompositeEntityFactory
- All Implemented Interfaces:
- EntityFactory
public class CompositeEntityFactory
- extends Object
- implements EntityFactory
Delegates to 0..n EntityFactories.
- Version:
- $Revision: 758023 $ $Date: 2009-03-24 16:09:19 -0500 (Tue, 24 Mar 2009) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeEntityFactory
public CompositeEntityFactory(EntityFactory[] delegates)
- Create a new CompositeEntityFactory.
- Parameters:
delegates - EntityFactory[]
getEntity
public Entity getEntity(Object cue)
- Get an Entity.
- Specified by:
getEntity in interface EntityFactory
- Parameters:
cue - an Object that may provide a cue as to what type of Entity is required.
- Returns:
- Entity.
Copyright © 2008-2009 The Apache Software Foundation. All Rights Reserved.