public class ToTermConverterAdapter<T,V extends Term>
extends org.jconverter.converter.TypedConverter<T,V>
Constructor and Description |
---|
ToTermConverterAdapter(ToTermConverter<T,V> converter,
Type sourceType,
Type returnType) |
Modifier and Type | Method and Description |
---|---|
V |
apply(T source,
Type targetType,
org.jconverter.JConverter context) |
static <T,V extends Term> |
chainConverters(List<ToTermConverter<T,V>> converters) |
static <T,V extends Term> |
forConverter(ToTermConverter<T,V> converter) |
public ToTermConverterAdapter(ToTermConverter<T,V> converter, Type sourceType, Type returnType)
public static <T,V extends Term> org.jgum.strategy.ChainOfResponsibility<org.jconverter.converter.Converter<T,V>,V> chainConverters(List<ToTermConverter<T,V>> converters)
public static <T,V extends Term> ToTermConverterAdapter forConverter(ToTermConverter<T,V> converter)
Copyright © 2014. All rights reserved.