Interface AttributeConverterProvider
-
- All Known Implementing Classes:
ChainConverterProvider,DefaultAttributeConverterProvider
@ThreadSafe public interface AttributeConverterProvider
Interface for determining theAttributeConverterto use for converting a givenEnhancedType.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> AttributeConverter<T>converterFor(EnhancedType<T> enhancedType)Finds aAttributeConverterfor converting an object with a type specified by aEnhancedTypeto aAttributeValueand back.static AttributeConverterProviderdefaultProvider()Returns a default implementation of AttributeConverterProvider with all standard Java type converters included.
-
-
-
Method Detail
-
converterFor
<T> AttributeConverter<T> converterFor(EnhancedType<T> enhancedType)
Finds aAttributeConverterfor converting an object with a type specified by aEnhancedTypeto aAttributeValueand back.- Parameters:
enhancedType- The type of the object to be converted- Returns:
AttributeConverterfor converting the given type.
-
defaultProvider
static AttributeConverterProvider defaultProvider()
Returns a default implementation of AttributeConverterProvider with all standard Java type converters included.
-
-