|
||||||||||
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.xpath.locpath.Axis
public enum Axis
Defined Axes in XPath.
Enum Constant Summary | |
---|---|
ANC
Ancestor. |
|
ANCORSELF
AncOrSelf. |
|
ATTR
Attribute. |
|
CHILD
Child. |
|
DESC
Descendant. |
|
DESCORSELF
DescOrSelf. |
|
FOLL
Following. |
|
FOLLSIBL
FollSibl. |
|
PARENT
Parent. |
|
PREC
Preceding. |
|
PRECSIBL
PrecSibl. |
|
SELF
Self. |
Method Summary | |
---|---|
static Step |
create(Axis a,
Test test)
Returns a location step instance. |
static Step |
create(Axis a,
Test test,
Preds preds)
Returns a location step instance. |
static Axis |
find(java.lang.String c)
Returns the specified command. |
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 |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Axis ANC
public static final Axis ANCORSELF
public static final Axis ATTR
public static final Axis CHILD
public static final Axis DESC
public static final Axis DESCORSELF
public static final Axis FOLL
public static final Axis FOLLSIBL
public static final Axis PARENT
public static final Axis PREC
public static final Axis PRECSIBL
public static final Axis SELF
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 static Axis find(java.lang.String c)
c
- command to be found
public static Step create(Axis a, Test test)
a
- axistest
- node test
public static Step create(Axis a, Test test, Preds preds)
a
- axistest
- node testpreds
- predicates
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |