Package org.pac4j.core.profile.converter
Class GenderConverter
- java.lang.Object
-
- org.pac4j.core.profile.converter.AbstractAttributeConverter<Gender>
-
- org.pac4j.core.profile.converter.GenderConverter
-
- All Implemented Interfaces:
AttributeConverter<Gender>
public final class GenderConverter extends AbstractAttributeConverter<Gender>
This class converts a String to a Gender.- Since:
- 1.0.0
- Author:
- Jerome Leleu
-
-
Constructor Summary
Constructors Constructor Description GenderConverter()
GenderConverter(String maleText, String femaleText)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Gender
internalConvert(Object attribute)
-
Methods inherited from class org.pac4j.core.profile.converter.AbstractAttributeConverter
accept, convert, defaultValue
-
-
-
-
Method Detail
-
internalConvert
protected Gender internalConvert(Object attribute)
- Overrides:
internalConvert
in classAbstractAttributeConverter<Gender>
-
-