|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConverterCreator
ConverterCreator interface. Classes implement this interface to create a converter that can convert one Java object type to another.
ConverterCreator
is used to dynamically create converters
for target classes that implement an interface.
Method Summary | ||
---|---|---|
|
createConverter(Class<S> sourceClass,
Class<T> targetClass)
Creates a Converter that can convert the sourceClass to
the targetClass . |
Method Detail |
---|
<S,T> Converter<S,T> createConverter(Class<S> sourceClass, Class<T> targetClass)
sourceClass
to
the targetClass
. Returns null
if this creator
doesn't support the class pair.
sourceClass
- The source Class
to convert fromtargetClass
- The target Class
to convert to
Converter
that can convert sourceClass
to targetClass
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |