Class ContextualConversionBuilder<TD>
- java.lang.Object
-
- org.hglteam.conversion.api.context.ContextualConversionBuilder<TD>
-
public class ContextualConversionBuilder<TD> extends Object
-
-
Constructor Summary
Constructors Constructor Description ContextualConversionBuilder(Converter converter, Class<? extends TD> targetClass)ContextualConversionBuilder(Converter converter, Type targetType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <TS> TDconvert(TS source)ContextualConversionBuilder<TD>withArgs(Object... args)ContextualConversionBuilder<TD>withConvertionKey(ConversionKey conversionKey)ContextualConversionBuilder<TD>withSourceType(Type sourceType)ContextualConversionBuilder<TD>withTargetType(Type targetType)
-
-
-
Method Detail
-
withConvertionKey
public ContextualConversionBuilder<TD> withConvertionKey(ConversionKey conversionKey)
-
withSourceType
public ContextualConversionBuilder<TD> withSourceType(Type sourceType)
-
withTargetType
public ContextualConversionBuilder<TD> withTargetType(Type targetType)
-
withArgs
public ContextualConversionBuilder<TD> withArgs(Object... args)
-
convert
public <TS> TD convert(TS source)
-
-