public enum NamespaceType extends java.lang.Enum<NamespaceType>
| Enum Constant and Description |
|---|
RootNamespace
Root namespace
|
SubNamespace
Sub namespace
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static NamespaceType |
rawValueOf(int value) |
static NamespaceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NamespaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NamespaceType RootNamespace
public static final NamespaceType SubNamespace
public static NamespaceType[] values()
for (NamespaceType c : NamespaceType.values()) System.out.println(c);
public static NamespaceType 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 static NamespaceType rawValueOf(int value)
public int getValue()