net.sf.doolin.util.factory
Class IdentityDataFactory<T>

java.lang.Object
  extended by 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

Constructor Summary
IdentityDataFactory()
           
 
Method Summary
 T create(Object context)
          Returns context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdentityDataFactory

public IdentityDataFactory()
Method Detail

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.