public class CloningEntityFactory extends Object implements EntityFactory
Constructor and Description |
---|
CloningEntityFactory(Map<? extends Object,? extends Entity> lookup)
Create a new CloningEntityFactory.
|
public CloningEntityFactory(Map<? extends Object,? extends Entity> lookup)
lookup
- lookup Mappublic Entity getEntity(Object cue)
getEntity
in interface EntityFactory
cue
- an Object that may provide a cue as to what type of Entity is required.Copyright © 2008-2016 The Apache Software Foundation. All Rights Reserved.