public interface AttributeConverterProvider
AttributeConverter
to use for
converting a given EnhancedType
.Modifier and Type | Method and Description |
---|---|
<T> AttributeConverter<T> |
converterFor(EnhancedType<T> enhancedType)
Finds a
AttributeConverter for converting an object with a type
specified by a EnhancedType to a AttributeValue and back. |
static AttributeConverterProvider |
defaultProvider()
Returns a default implementation of AttributeConverterProvider with all
standard Java type converters included.
|
<T> AttributeConverter<T> converterFor(EnhancedType<T> enhancedType)
AttributeConverter
for converting an object with a type
specified by a EnhancedType
to a AttributeValue
and back.enhancedType
- The type of the object to be convertedAttributeConverter
for converting the given type.static AttributeConverterProvider defaultProvider()
Copyright © 2021. All rights reserved.