net.sf.doolin.util.factory
Class IdentityDataFactory<T>
java.lang.Object
net.sf.doolin.util.factory.IdentityDataFactory<T>
- Type Parameters:
T - Type of object
- All Implemented Interfaces:
- DataFactory<T>
public class IdentityDataFactory<T>
- extends Object
- implements DataFactory<T>
Returns the context as the created object.
- Author:
- Damien Coraboeuf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdentityDataFactory
public IdentityDataFactory()
create
public T create(Object context)
- Returns
context.
- Specified by:
create in interface DataFactory<T>
- Parameters:
context - Context of creation
- Returns:
- Created object.
Copyright © 2011. All Rights Reserved.