public static enum MSClassmark.MSClassmark2.UCS2Treatment extends Enum<MSClassmark.MSClassmark2.UCS2Treatment>
The API offered by this class is as if the type were specified in ASN.1 as follows.
UCS2Treatment ::= ENUMERATED { PREFER_DEFAULT_ALPHABET (0), NO_PREFERENCE (1) }
Enum Constant and Description |
---|
NO_PREFERENCE
MSClassmark2 UCS2Treatment constant corresponding to no preference between the use of the default alphabet and the use of UCS2.
|
PREFER_DEFAULT_ALPHABET
MSClassmark2 UCS2Treatment constant corresponding to a preference for the default alphabet over UCS2.
|
Modifier and Type | Method and Description |
---|---|
static MSClassmark.MSClassmark2.UCS2Treatment |
fromValue(int value)
Returns the enumeration constant for a given encoded value.
|
int |
intValue()
Gets the integer ASN.1 encoded value of this enumeration constant.
|
static MSClassmark.MSClassmark2.UCS2Treatment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MSClassmark.MSClassmark2.UCS2Treatment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MSClassmark.MSClassmark2.UCS2Treatment PREFER_DEFAULT_ALPHABET
public static final MSClassmark.MSClassmark2.UCS2Treatment NO_PREFERENCE
public static MSClassmark.MSClassmark2.UCS2Treatment[] values()
for (MSClassmark.MSClassmark2.UCS2Treatment c : MSClassmark.MSClassmark2.UCS2Treatment.values()) System.out.println(c);
public static MSClassmark.MSClassmark2.UCS2Treatment valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int intValue()
public static MSClassmark.MSClassmark2.UCS2Treatment fromValue(int value)
value
- encoded valueIllegalArgumentException
- if there is no enumeration constant with the given encoded value