public class BindingConverter extends Object implements org.springframework.core.convert.converter.ConditionalGenericConverter
ConditionalGenericConverter
that makes use
of Jadira Binding to perform conversions.Constructor and Description |
---|
BindingConverter() |
Modifier and Type | Method and Description |
---|---|
Object |
convert(Object object,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType) |
Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> |
getConvertibleTypes() |
boolean |
matches(org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType) |
public BindingConverter()
public Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
getConvertibleTypes
in interface org.springframework.core.convert.converter.GenericConverter
public Object convert(Object object, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
convert
in interface org.springframework.core.convert.converter.GenericConverter
public boolean matches(org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
matches
in interface org.springframework.core.convert.converter.ConditionalConverter
Copyright © 2010–2018 Jadira Systems. All rights reserved.