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

public abstract class ISO3166_1AlphaCountryCode extends CountryCode
ISO 3166-1 alpha (letter-based) country code.
See Also:
  • 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

      public abstract String getCountryName()
      Returns the country name.
      Returns:
      The country name, null if not available.