Interface AttributeConverterProvider
- All Known Implementing Classes:
ChainConverterProvider
,DefaultAttributeConverterProvider
Interface for determining the
AttributeConverter
to use for
converting a given EnhancedType
.-
Method Summary
Modifier and TypeMethodDescription<T> AttributeConverter
<T> converterFor
(EnhancedType<T> enhancedType) Finds aAttributeConverter
for converting an object with a type specified by aEnhancedType
to aAttributeValue
and back.static AttributeConverterProvider
Returns a default implementation of AttributeConverterProvider with all standard Java type converters included.
-
Method Details
-
converterFor
Finds aAttributeConverter
for converting an object with a type specified by aEnhancedType
to aAttributeValue
and back.- Parameters:
enhancedType
- The type of the object to be converted- Returns:
AttributeConverter
for converting the given type.
-
defaultProvider
Returns a default implementation of AttributeConverterProvider with all standard Java type converters included.
-