Interface AttributeConverter

All Known Implementing Classes:
AbstractAttributeConverter, BooleanConverter, ChainingConverter, ColorConverter, DateConverter, GenderConverter, IntegerConverter, LocaleConverter, LongConverter, StringConverter, UrlConverter
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 AttributeConverter
This interface is the contract for an attribute converter.
Since:
1.0.0
Author:
Jerome Leleu
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(Object attribute)
    Convert an attribute to a specific type.
  • Method Details

    • convert

      Object convert(Object attribute)
      Convert an attribute to a specific type.
      Parameters:
      attribute - attribute
      Returns:
      the converted attribute