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