public interface Coercer<ToType>
| Modifier and Type | Method and Description |
|---|---|
ToType |
coerce(java.lang.Object input)
Convert the given object into the coercer type.
|
java.lang.Class<ToType> |
getToType()
Returns the type this coercer handles
|
ToType coerce(java.lang.Object input) throws CoercionException
CoercionExceptionjava.lang.Class<ToType> getToType()