public interface ConversionRegistry
Convertlets to find
a ConversionPath between two classes.| Modifier and Type | Method and Description |
|---|---|
<F,T> void |
register(java.lang.Class<F> from,
java.lang.Class<T> to,
Convertlet<F,T> convertlet)
Register a Convertlet.
|
<F> void |
registerJoker(java.lang.Class<F> from,
Joker<F> joker)
Register a joker which is a conversion that trumps all other
conversion.
|
<F,T> void register(java.lang.Class<F> from,
java.lang.Class<T> to,
Convertlet<F,T> convertlet)
from - The convert from class.to - The convert to class.convertlet - The Convertlet.<F> void registerJoker(java.lang.Class<F> from,
Joker<F> joker)
NoConversionAvailableException.F - The class of the from type.from - The from type.joker - The joker.