Enum Constant and Description |
---|
ANCESTOR |
ANCESTOR_OR_SELF |
ATTRIBUTE |
CHILD |
DESCENDANT |
DESCENDANT_OR_SELF |
FOLLOWING |
FOLLOWING_SIBLING |
NAMESPACE |
PARENT |
PRECEDING |
PRECEDING_SIBLING |
SELF |
Modifier and Type | Method and Description |
---|---|
byte |
getAxisNumber()
Get the axis number, as defined in class
AxisInfo |
static Axis |
valueOf(java.lang.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 ANCESTOR_OR_SELF
public static final Axis ATTRIBUTE
public static final Axis CHILD
public static final Axis DESCENDANT
public static final Axis DESCENDANT_OR_SELF
public static final Axis FOLLOWING
public static final Axis FOLLOWING_SIBLING
public static final Axis PARENT
public static final Axis PRECEDING
public static final Axis PRECEDING_SIBLING
public static final Axis SELF
public static final Axis NAMESPACE
public static Axis[] values()
for (Axis c : Axis.values()) System.out.println(c);
public static Axis 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 nullpublic byte getAxisNumber()
AxisInfo
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.