public enum DescendantType extends Enum<DescendantType>
Enum Constant and Description |
---|
ALL
Process all descendants.
|
NONE
No descendant processing.
|
ONE
Process only 1 level of children.
|
Modifier and Type | Method and Description |
---|---|
static DescendantType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DescendantType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DescendantType NONE
public static final DescendantType ONE
public static final DescendantType ALL
public static DescendantType[] values()
for (DescendantType c : DescendantType.values()) System.out.println(c);
public static DescendantType 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 nullCopyright © 2023. All Rights Reserved.