ma.glasnost.orika.converter
Class BidirectionConverter<S,D>
java.lang.Object
ma.glasnost.orika.converter.CustomConverterBase<S,D>
ma.glasnost.orika.converter.TypeConverter<Object,Object>
ma.glasnost.orika.converter.BidirectionConverter<S,D>
- Type Parameters:
S - D -
- All Implemented Interfaces:
- Converter<Object,Object>, MappedTypePair<Object,Object>
Deprecated. use BidirectionalConverter instead
@Deprecated
public abstract class BidirectionConverter<S,D>
- extends TypeConverter<Object,Object>
- implements Converter<Object,Object>
- Author:
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BidirectionConverter
public BidirectionConverter()
- Deprecated.
convertTo
public abstract D convertTo(S source,
Class<D> destinationClass)
- Deprecated.
convertFrom
public abstract S convertFrom(D source,
Class<S> destinationClass)
- Deprecated.
convert
public Object convert(Object source,
Class<? extends Object> destinationClass)
- Deprecated.
- Specified by:
convert in interface Converter<Object,Object>
canConvert
public boolean canConvert(Class<Object> sourceClass,
Class<? extends Object> destinationClass)
- Deprecated.
- Specified by:
canConvert in interface Converter<Object,Object>- Overrides:
canConvert in class TypeConverter<Object,Object>
Copyright © 2013 Glasnost. All Rights Reserved.