Enum Variant
- java.lang.Object
-
- java.lang.Enum<Variant>
-
- org.apache.abdera.i18n.rfc4646.enums.Variant
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDeprecated()
java.lang.String
getDescription()
java.lang.String[]
getDescriptions()
Variant
getPreferred()
java.lang.String
getPreferredValue()
java.lang.String
getPrefix()
java.lang.String[]
getPrefixes()
boolean
isDeprecated()
Subtag
newSubtag()
static Variant
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Variant
valueOf(Subtag subtag)
Returns the enum constant of this type with the specified name.static Variant[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
_1606NICT
public static final Variant _1606NICT
-
_1694ACAD
public static final Variant _1694ACAD
-
_1901
public static final Variant _1901
-
_1994
public static final Variant _1994
-
_1996
public static final Variant _1996
-
AREVELA
public static final Variant AREVELA
-
AREVMDA
public static final Variant AREVMDA
-
BAKU1926
public static final Variant BAKU1926
-
BISKE
public static final Variant BISKE
-
BOONT
public static final Variant BOONT
-
FONIPA
public static final Variant FONIPA
-
FONUPA
public static final Variant FONUPA
-
LIPAW
public static final Variant LIPAW
-
MONOTON
public static final Variant MONOTON
-
NEDIS
public static final Variant NEDIS
-
NJIVA
public static final Variant NJIVA
-
OSOJS
public static final Variant OSOJS
-
POLYTON
public static final Variant POLYTON
-
ROZAJ
public static final Variant ROZAJ
-
SCOTLAND
public static final Variant SCOTLAND
-
SCOUSE
public static final Variant SCOUSE
-
SOLBA
public static final Variant SOLBA
-
TARASK
public static final Variant TARASK
-
VALENCIA
public static final Variant VALENCIA
-
-
Method Detail
-
values
public static Variant[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Variant c : Variant.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Variant valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
isDeprecated
public boolean isDeprecated()
-
getDeprecated
public java.lang.String getDeprecated()
-
getPreferredValue
public java.lang.String getPreferredValue()
-
getPreferred
public Variant getPreferred()
-
getPrefix
public java.lang.String getPrefix()
-
getPrefixes
public java.lang.String[] getPrefixes()
-
getDescription
public java.lang.String getDescription()
-
getDescriptions
public java.lang.String[] getDescriptions()
-
newSubtag
public Subtag newSubtag()
-
valueOf
public static Variant valueOf(Subtag subtag)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
subtag
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-