|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of ConverterClosure in com.hammurapi.convert |
|---|
| Methods in com.hammurapi.convert that return ConverterClosure | ||
|---|---|---|
static
|
ConvertingService.getConverter(Class<S> sourceType,
Class<T> targetType)
Converts source to target type using Java 6 service loading for AtomicConverterBundle, AtomicConverter, and Converter services If no converter is found, this method performs converter discovery through constructors if target type is a class and through duck conversion if target type is an interface. |
|
static
|
ContextConverterFactory.getConverter(Class<S> sourceClass,
Class<T> targetInterface)
|
|
static
|
ConvertingService.getConverter(Class<S> sourceType,
Class<T> targetType,
ClassLoader classLoader)
Converts source to target type using Java 6 service loading for AtomicConverterBundle, AtomicConverter, and Converter services If no converter is found, this method performs converter discovery through constructors if target type is a class and through duck conversion if target type is an interface. |
|
static
|
ConvertingService.getConverter(Class<S> sourceType,
Class<T> targetType,
Context context)
Converts source to target type using Java 6 service loading for AtomicConverterBundle, AtomicConverter, and Converter services If no converter is found, this method performs converter discovery through constructors if target type is a class and through duck conversion if target type is an interface. |
|
static
|
ConvertingService.getConverter(Class<S> sourceType,
Class<T> targetType,
Context context,
ClassLoader classLoader)
Converts source to target type using Java 6 service loading for AtomicConverterBundle, AtomicConverter, and Converter services If no converter is found, this method performs converter discovery through constructors if target type is a class and through duck conversion if target type is an interface. |
|
static ConverterClosure |
DuckConverterFactory.getConverter(Class sourceClass,
Class targetInterface,
boolean lenient)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||