net.stickycode.coercion
Interface CoercionFinder


public interface CoercionFinder


Method Summary
<T> Coercion<T>
find(CoercionTarget target)
          Find a coercion for the given target.
 

Method Detail

find

<T> Coercion<T> find(CoercionTarget target)
                 throws CoercionNotFoundException
Find a coercion for the given target.

Parameters:
target - The target to find a coercion for
Returns:
The appropriate conversion
Throws:
CoercionNotFoundException - if there is no coercion registered that is appropriate for the given target


Copyright © 2003-2011 RedEngine Ltd. All Rights Reserved.