Package org.hglteam.conversion.api
Interface Converter
-
public interface Converter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <TS,TD>
TDconvert(TS source, Class<? extends TD> targetClass)<TS,TD>
TDconvert(TS source, Type targetType)<TS,TD>
TDconvert(TS source, Type sourceType, Type targetType)<TS,TD>
TDconvert(TS source, TypeConversionContext context)<TS,TD>
TDconvert(TS source, ConversionKey contersionKey)<TS,TD>
Function<TS,TD>convertTo(Class<? extends TD> targetClass)<TS,TD>
Function<TS,TD>convertTo(Type targetType)<TS,TD>
Function<TS,TD>convertTo(Type sourceType, Type targetType)<TS,TD>
Function<TS,TD>convertTo(TypeConversionContext context)<TS,TD>
Function<TS,TD>convertTo(ConversionKey conversionKey)<TD> ContextualConversionBuilder<TD>withContext(Class<? extends TD> targetClass)<TD> ContextualConversionBuilder<TD>withContext(Type targetType)
-
-
-
Method Detail
-
convert
<TS,TD> TD convert(TS source, TypeConversionContext context)
-
convert
<TS,TD> TD convert(TS source, ConversionKey contersionKey)
-
convert
<TS,TD> TD convert(TS source, Type targetType)
-
convert
<TS,TD> TD convert(TS source, Class<? extends TD> targetClass)
-
convertTo
<TS,TD> Function<TS,TD> convertTo(TypeConversionContext context)
-
convertTo
<TS,TD> Function<TS,TD> convertTo(ConversionKey conversionKey)
-
withContext
<TD> ContextualConversionBuilder<TD> withContext(Type targetType)
-
withContext
<TD> ContextualConversionBuilder<TD> withContext(Class<? extends TD> targetClass)
-
-