Interface AttributeStrategyConverterProvider<T>
-
- Type Parameters:
T- type parameter. The type is used as type for source attribute as well as in parameterized return type.
- All Known Implementing Classes:
BaseAttributeStrategyConverterProvider,DefaultAttributeStrategyConverterProvider,VersionAttributeToDataStrategyConverterProvider,VersionDataToAttributeStrategyConverterProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface AttributeStrategyConverterProvider<T>Provider ofAttributeContentConverterby means of a generic element based strategy.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttributeContentConverter<T>getContentConverter(T source)Will return the most appropriateAttributeContentConverterto convert back and forth between a property value and a serializable representation
-
-
-
Method Detail
-
getContentConverter
AttributeContentConverter<T> getContentConverter(T source)
Will return the most appropriateAttributeContentConverterto convert back and forth between a property value and a serializable representation- Parameters:
source- the parameter holding the metadata of a property- Returns:
- the content converter destined to a given source.
-
-