|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Axis>
org.basex.query.path.Axis
public enum Axis
XPath axes.
Enum Constant Summary | |
---|---|
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. |
Field Summary | |
---|---|
boolean |
down
Descendant axis flag. |
java.lang.String |
name
Axis string. |
static Axis[] |
VALUES
Cached enums (faster). |
Method Summary | |
---|---|
java.lang.String |
toString()
|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Field Detail |
---|
public static final Axis[] VALUES
public final java.lang.String name
public final boolean down
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Axis>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |