public enum TypeKind extends java.lang.Enum<TypeKind>
<simpleType name="TypeKind"> <restriction base="{http://www.w3.org/2001/XMLSchema}NCName"> <enumeration value="UNDEFINED"/> <enumeration value="CLASS"/> <enumeration value="INTERFACE"/> <enumeration value="EXCEPTION"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CLASS |
EXCEPTION |
INTERFACE |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static TypeKind |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static TypeKind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TypeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TypeKind UNDEFINED
public static final TypeKind CLASS
public static final TypeKind INTERFACE
public static final TypeKind EXCEPTION
public static TypeKind[] values()
for (TypeKind c : TypeKind.values()) System.out.println(c);
public static TypeKind valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String value()
public static TypeKind fromValue(java.lang.String v)