|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConversionRegistry
Something that is able to use a set of Convertlet
s to find
a ConversionPath
between two classes.
Method Summary | ||
---|---|---|
|
register(Class<F> from,
Class<T> to,
Convertlet<F,T> convertlet)
Register a Convertlet. |
|
|
registerJoker(Class<F> from,
Joker<F> joker)
Register a joker which is a conversion that trumps all other conversion. |
Method Detail |
---|
<F,T> void register(Class<F> from, Class<T> to, Convertlet<F,T> convertlet)
from
- The convert from class.to
- The convert to class.convertlet
- The Convertlet.<F> void registerJoker(Class<F> from, Joker<F> joker)
NoConversionAvailableException
.
F
- The class of the from type.from
- The from type.joker
- The joker.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |