public class TypedConverterProxy<T,U> extends TypedConverter<T,U>
Constructor and Description |
---|
TypedConverterProxy(Converter<T,U> converter,
Type sourceType,
Type returnType) |
Modifier and Type | Method and Description |
---|---|
U |
apply(T source,
Type targetType,
JConverter context) |
static <T,U> TypedConverterProxy<T,U> |
forConverter(Converter<T,U> converter) |
Converter<T,U> |
getConverter() |
getReturnClass, getReturnType, getSourceType, hasVariableReturnType, isReturnTypeCompatible, isSourceTypeCompatible
public static <T,U> TypedConverterProxy<T,U> forConverter(Converter<T,U> converter)
public U apply(T source, Type targetType, JConverter context)
source
- the object to convert.targetType
- the target type.context
- the context.Copyright © 2014. All rights reserved.