public enum Axis extends Enum<Axis>
Enum Constant and Description |
---|
ancestor |
ancestorOrSelf |
attribute |
child |
descendant |
descendantOrSelf |
following |
followingSibling |
namespace |
parent |
preceding |
precedingSibling |
self |
Modifier and Type | Method and Description |
---|---|
PrincipalNodeType |
getPrincipalNodeType() |
boolean |
isReverse() |
static Axis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Axis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Axis ancestor
public static final Axis ancestorOrSelf
public static final Axis attribute
public static final Axis child
public static final Axis descendant
public static final Axis descendantOrSelf
public static final Axis following
public static final Axis followingSibling
public static final Axis namespace
public static final Axis parent
public static final Axis preceding
public static final Axis precedingSibling
public static final Axis self
public static Axis[] values()
for (Axis c : Axis.values()) System.out.println(c);
public static 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 PrincipalNodeType getPrincipalNodeType()
public boolean isReverse()
see also the complete user documentation .