net.sf.doolin.util
Class ItemCopyConverter<T>

java.lang.Object
  extended by net.sf.doolin.util.ItemCopyConverter<T>
Type Parameters:
T - Type of both the target and source.
All Implemented Interfaces:
ItemConverter<T,T>

Deprecated. Use CopyFunction instead

@Deprecated
public class ItemCopyConverter<T>
extends Object
implements ItemConverter<T,T>

This class performs a conversion by performing a copy using an ItemCopier. The type of the target is identical to the one of the source.

Author:
Damien Coraboeuf

Constructor Summary
ItemCopyConverter()
          Deprecated.  
 
Method Summary
 T convert(T source)
          Deprecated. Convert a source to a target
 void setCopier(ItemCopier<T> copier)
          Deprecated. Sets the copier to use (required)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ItemCopyConverter

public ItemCopyConverter()
Deprecated. 
Method Detail

convert

public T convert(T source)
Deprecated. 
Description copied from interface: ItemConverter
Convert a source to a target

Specified by:
convert in interface ItemConverter<T,T>
Parameters:
source - Source object
Returns:
Target object

setCopier

public void setCopier(ItemCopier<T> copier)
Deprecated. 
Sets the copier to use (required)

Parameters:
copier - Copier implementation


Copyright © 2011. All Rights Reserved.