@Generated(value="com.sun.tools.xjc.Driver", date="2016-05-24T01:25:05+02:00", comments="JAXB RI v2.2.11") public enum EnumClass extends Enum<EnumClass>
Java class for EnumClass.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EnumClass">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="Event"/>
<enumeration value="Information"/>
<enumeration value="Warning"/>
<enumeration value="Error"/>
<enumeration value="Fatal"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ERROR |
EVENT |
FATAL |
INFORMATION |
WARNING |
| Modifier and Type | Method and Description |
|---|---|
static EnumClass |
fromValue(String v) |
String |
value() |
static EnumClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumClass EVENT
public static final EnumClass INFORMATION
public static final EnumClass WARNING
public static final EnumClass ERROR
public static final EnumClass FATAL
public static EnumClass[] values()
for (EnumClass c : EnumClass.values()) System.out.println(c);
public static EnumClass 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 String value()
Copyright © 2016. All rights reserved.