public enum Axis extends Enum<Axis>
Enum Constant and Description |
---|
ANC
Ancestor axis.
|
ANCORSELF
Ancestor-or-self axis.
|
ATTR
Attribute axis.
|
CHILD
Child Axis.
|
DESC
Descendant axis.
|
DESCORSELF
Descendant-or-self axis.
|
FOLL
Following axis.
|
FOLLSIBL
Following-Sibling axis.
|
PARENT
Parent axis.
|
PREC
Preceding axis.
|
PRECSIBL
Preceding-Sibling axis.
|
SELF
Step axis.
|
Modifier and Type | Field and Description |
---|---|
boolean |
down
Descendant axis flag.
|
String |
name
Axis string.
|
static Axis[] |
VALUES
Cached enums (faster).
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
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 ANCORSELF
public static final Axis ANC
public static final Axis ATTR
public static final Axis CHILD
public static final Axis DESCORSELF
public static final Axis DESC
public static final Axis FOLLSIBL
public static final Axis FOLL
public static final Axis PARENT
public static final Axis PRECSIBL
public static final Axis PREC
public static final Axis SELF
public static final Axis[] VALUES
public final String name
public final boolean down
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 nullCopyright © 2005–2015 BaseX Team. All rights reserved.