public static enum SingleChildDescriptor.MyType extends java.lang.Enum<SingleChildDescriptor.MyType>
| Enum Constant and Description |
|---|
CHILDREN |
CHILDREN_IN_ANY_ORDER |
CHILDREN_OPTIONALLY |
CHILDREN_OPTIONALLY_IN_PATTERN |
DEFAULT |
OPTIONALLY |
OPTIONALLY_IN_PATTERN |
| Modifier and Type | Method and Description |
|---|---|
static SingleChildDescriptor.MyType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SingleChildDescriptor.MyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SingleChildDescriptor.MyType DEFAULT
public static final SingleChildDescriptor.MyType OPTIONALLY
public static final SingleChildDescriptor.MyType OPTIONALLY_IN_PATTERN
public static final SingleChildDescriptor.MyType CHILDREN
public static final SingleChildDescriptor.MyType CHILDREN_OPTIONALLY
public static final SingleChildDescriptor.MyType CHILDREN_OPTIONALLY_IN_PATTERN
public static final SingleChildDescriptor.MyType CHILDREN_IN_ANY_ORDER
public static SingleChildDescriptor.MyType[] values()
for (SingleChildDescriptor.MyType c : SingleChildDescriptor.MyType.values()) System.out.println(c);
public static SingleChildDescriptor.MyType 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 null