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