Class Gender
java.lang.Object
se.swedenconnect.spring.saml.idp.attributes.eidas.Gender
- All Implemented Interfaces:
Serializable
,EidasAttributeValue<GenderType>
Representation of the eIDAS
GenderType
attribute value.- Author:
- Martin Lindström
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates theXMLObject
value for insertion as an attribute value in anAssertion
.Gets the string representation of the value.toString()
-
Constructor Details
-
Gender
Constructor.- Parameters:
gender
- the gender type
-
-
Method Details
-
getValueAsString
Gets the string representation of the value.- Specified by:
getValueAsString
in interfaceEidasAttributeValue<GenderType>
- Returns:
- a string
-
createXmlObject
Creates theXMLObject
value for insertion as an attribute value in anAssertion
.- Specified by:
createXmlObject
in interfaceEidasAttributeValue<GenderType>
- Returns:
- the attribute value
-
toString
-