Class ISO3166_1AlphaCountryCode
java.lang.Object
com.nimbusds.oauth2.sdk.id.Identifier
com.nimbusds.openid.connect.sdk.assurance.claims.CountryCode
com.nimbusds.openid.connect.sdk.assurance.claims.ISO3166_1AlphaCountryCode
- All Implemented Interfaces:
Serializable
,Comparable<Identifier>
,net.minidev.json.JSONAware
- Direct Known Subclasses:
ISO3166_1Alpha2CountryCode
,ISO3166_1Alpha3CountryCode
ISO 3166-1 alpha (letter-based) country code.
- See Also:
-
Field Summary
Fields inherited from class com.nimbusds.oauth2.sdk.id.Identifier
DEFAULT_BYTE_LENGTH, secureRandom
-
Constructor Summary
ConstructorsConstructorDescriptionISO3166_1AlphaCountryCode
(String value) Creates a new ISO 3166-1 alpha (letter-based) country code. -
Method Summary
Methods inherited from class com.nimbusds.openid.connect.sdk.assurance.claims.CountryCode
equals, length, parse, toISO3166_1Alpha2CountryCode, toISO3166_1Alpha3CountryCode, toISO3166_3CountryCode
Methods inherited from class com.nimbusds.oauth2.sdk.id.Identifier
compareTo, getValue, hashCode, toJSONString, toString, toStringList
-
Constructor Details
-
ISO3166_1AlphaCountryCode
Creates a new ISO 3166-1 alpha (letter-based) country code. Normalises the code to upper case.- Parameters:
value
- The country code value. Must be alphabetic.
-
-
Method Details
-
getCountryName
Returns the country name.- Returns:
- The country name,
null
if not available.
-