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 of AttributeContentConverter by means of a generic element based strategy.
  • Method Details

    • getContentConverter

      AttributeContentConverter<T> getContentConverter(T source)
      Will return the most appropriate AttributeContentConverter to 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.