Package org.jmrtd.lds.icao
Class ICAOCountry
- java.lang.Object
-
- net.sf.scuba.data.Country
-
- org.jmrtd.lds.icao.ICAOCountry
-
- All Implemented Interfaces:
Serializable
public class ICAOCountry extends net.sf.scuba.data.Country
Special ICAO countries not covered inISOCountry
. Contributed by Aleksandar Kamburov (wise_guybg).- Version:
- $Revision: 1765 $
- Author:
- The JMRTD team ([email protected])
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ICAOCountry
DE
static ICAOCountry
EUE
Part B: Europe.static ICAOCountry
GBD
static ICAOCountry
GBN
static ICAOCountry
GBO
static ICAOCountry
GBP
static ICAOCountry
GBS
static ICAOCountry
UNA
static ICAOCountry
UNK
static ICAOCountry
UNO
Part C: Codes for Use in United Nations Travel Documents.static ICAOCountry
XBA
Part D: Other issuing authorities.static ICAOCountry
XCC
static ICAOCountry
XCO
static ICAOCountry
XEC
static ICAOCountry
XIM
static ICAOCountry
XOM
static ICAOCountry
XPO
static ICAOCountry
XXA
static ICAOCountry
XXB
static ICAOCountry
XXC
static ICAOCountry
XXX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static net.sf.scuba.data.Country
getInstance(String alpha3Code)
Returns an ICAO country instance.String
getName()
Returns the full name of the country.String
getNationality()
Returns the adjectival form corresponding to the country.String
toAlpha2Code()
Returns the two-digit country code.String
toAlpha3Code()
Returns the three-digit country code.int
valueOf()
-
-
-
Field Detail
-
DE
public static final ICAOCountry DE
-
GBD
public static final ICAOCountry GBD
-
GBN
public static final ICAOCountry GBN
-
GBO
public static final ICAOCountry GBO
-
GBP
public static final ICAOCountry GBP
-
GBS
public static final ICAOCountry GBS
-
XXA
public static final ICAOCountry XXA
-
XXB
public static final ICAOCountry XXB
-
XXC
public static final ICAOCountry XXC
-
XXX
public static final ICAOCountry XXX
-
EUE
public static final ICAOCountry EUE
Part B: Europe.
-
UNO
public static final ICAOCountry UNO
Part C: Codes for Use in United Nations Travel Documents.
-
UNA
public static final ICAOCountry UNA
-
UNK
public static final ICAOCountry UNK
-
XBA
public static final ICAOCountry XBA
Part D: Other issuing authorities.
-
XIM
public static final ICAOCountry XIM
-
XCC
public static final ICAOCountry XCC
-
XCO
public static final ICAOCountry XCO
-
XEC
public static final ICAOCountry XEC
-
XPO
public static final ICAOCountry XPO
-
XOM
public static final ICAOCountry XOM
-
-
Method Detail
-
getInstance
public static net.sf.scuba.data.Country getInstance(String alpha3Code)
Returns an ICAO country instance.- Parameters:
alpha3Code
- a three-digit ICAO country code- Returns:
- an ICAO country
-
valueOf
public int valueOf()
- Specified by:
valueOf
in classnet.sf.scuba.data.Country
-
getName
public String getName()
Returns the full name of the country.- Specified by:
getName
in classnet.sf.scuba.data.Country
- Returns:
- a country name
-
getNationality
public String getNationality()
Returns the adjectival form corresponding to the country.- Specified by:
getNationality
in classnet.sf.scuba.data.Country
- Returns:
- the nationality
-
toAlpha2Code
public String toAlpha2Code()
Returns the two-digit country code.- Specified by:
toAlpha2Code
in classnet.sf.scuba.data.Country
- Returns:
- a two-digit country code
-
toAlpha3Code
public String toAlpha3Code()
Returns the three-digit country code.- Specified by:
toAlpha3Code
in classnet.sf.scuba.data.Country
- Returns:
- a three-digit country code
-
-