From - To - public interface ETransformer<From,To>
ETransformer defines a consistent pattern for converting an object of
one type to an object of another.
By utilising this interface, assisting classes such as
CollectionTransformer and IteratorTransformer can help
succinctly transform collections of objects.
In circumstances where a transformation requires another object instance
(such as a lookup table, service, resource etc), these can be injected into
the implementing class using the constructor. Ideally ETransformers
should be stateless, which enables them to be threadsafe and freely reusable.
In the case that to directional transformations are required,
EBidiTransformer should be used.
EBidiTransformer,
CollectionTransformer,
IteratorTransformerCopyright © 2013 Atomic Leopard. All Rights Reserved.