public enum TypeKind extends 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(String v) |
String |
value() |
static TypeKind |
valueOf(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(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 © 1999–2016 The Apache Software Foundation. All rights reserved.