public static enum Step.Axis extends Enum<Step.Axis>
Enum Constant and Description |
---|
ATTRIBUTE
The attribute axis.
|
CHILD
The child axis.
|
DESCENDANT_OR_SELF
The descendant-or-self axis.
|
SELF
The self axis.
|
Modifier and Type | Method and Description |
---|---|
static Step.Axis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Step.Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Step.Axis SELF
public static final Step.Axis DESCENDANT_OR_SELF
public static final Step.Axis CHILD
public static final Step.Axis ATTRIBUTE
public static Step.Axis[] values()
for (Step.Axis c : Step.Axis.values()) System.out.println(c);
public static Step.Axis 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 null