Package google.registry.tldconfig.idn
Enum Class IdnTableEnum
- All Implemented Interfaces:
Serializable
,Comparable<IdnTableEnum>
,Constable
Wrapper enum that loads all
IdnTable
resources into memory.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionExtended Latin, as used on our existing TLD launches prior to 2023.Japanese, as used on our existing TLD launches prior to 2023.Extended Latin, but with confusable characters removed. -
Method Summary
Modifier and TypeMethodDescriptiongetTable()
static IdnTableEnum
Returns the enum constant of this class with the specified name.static IdnTableEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXTENDED_LATIN
Extended Latin, as used on our existing TLD launches prior to 2023.As of 2023 this table is no longer conformant with ICANN's IDN policies for new launches, so it is retained solely for legacy compatibility with already-launched TLDs.
-
UNCONFUSABLE_LATIN
Extended Latin, but with confusable characters removed.This is compatible with ICANN's requirements as of 2023, and is used for the Dads and Grads TLDs and all subsequent TLD launches. Note that confusable characters consist of various letters with diacritic marks on them, e.g. U+00EF (LATIN SMALL LETTER I WITH DIAERESIS) is not allowed because it is confusable with the standard i.
-
JA
Japanese, as used on our existing TLD launches prior to 2023.As of 2023 this table is no longer conformant with ICANN's IDN policies for new launches, so it is retained solely for legacy compatibility with already-launched TLDs.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getTable
-