public static enum PathStep.Axis extends Enum<PathStep.Axis>
| Enum Constant and Description |
|---|
Ancestor |
AncestorSelf |
Attribute |
Child |
Descendant |
DescendantSelf |
Following |
FollowingSibling |
Parent |
Preceding |
PrecedingSibling |
Self |
| Modifier and Type | Field and Description |
|---|---|
PathStep.Axis[] |
extensions |
boolean |
isForward |
String |
name |
int |
rangeMask |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAxisMask(int mask) |
String |
toString() |
static PathStep.Axis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PathStep.Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PathStep.Axis DescendantSelf
public static final PathStep.Axis Descendant
public static final PathStep.Axis AncestorSelf
public static final PathStep.Axis Ancestor
public static final PathStep.Axis Self
public static final PathStep.Axis Child
public static final PathStep.Axis Parent
public static final PathStep.Axis Preceding
public static final PathStep.Axis Following
public static final PathStep.Axis PrecedingSibling
public static final PathStep.Axis FollowingSibling
public static final PathStep.Axis Attribute
public final String name
public final boolean isForward
public final int rangeMask
public PathStep.Axis[] extensions
public static PathStep.Axis[] values()
for (PathStep.Axis c : PathStep.Axis.values()) System.out.println(c);
public static PathStep.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 nullpublic String toString()
toString in class Enum<PathStep.Axis>public boolean isAxisMask(int mask)
Copyright © 2013. All Rights Reserved.