Package org.pac4j.core.profile.converter
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.
This interface is the contract for an attribute converter.
- Since:
- 1.0.0
- Author:
- Jerome Leleu
-
Method Summary
-
Method Details
-
convert
Convert an attribute to a specific type.- Parameters:
attribute
- attribute- Returns:
- the converted attribute
-