public enum XTMVersion extends Enum<XTMVersion>
Enum Constant and Description |
---|
XTM_1_0
Constant for XTM 1.0
|
XTM_2_0
Constant for XTM 2.0
|
XTM_2_1
Constant for XTM 2.1
|
Modifier and Type | Method and Description |
---|---|
static XTMVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XTMVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XTMVersion XTM_1_0
public static final XTMVersion XTM_2_0
public static final XTMVersion XTM_2_1
public static XTMVersion[] values()
for (XTMVersion c : XTMVersion.values()) System.out.println(c);
public static XTMVersion 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 null