|
|||||||||
| 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
Anc. |
|
ANCORSELF
AnceOrSelf. |
|
ATTR
Attr. |
|
CHILD
Child. |
|
DESC
Desc. |
|
DESCORSELF
DescOrSelf. |
|
FOLL
Foll. |
|
FOLLSIBL
FollSibl. |
|
NAMESPACE
NameSpace. |
|
PARENT
Parent. |
|
PREC
Prec. |
|
PRECSIBL
PrecSibl. |
|
SELF
Step. |
|
| Method Summary | |
|---|---|
static Axis |
find(java.lang.String c)
Returns the specified command. |
static Step |
get(Axis a,
Test test)
Returns a location step instance. |
static Step |
get(Axis a,
Test test,
Preds preds)
Returns a location step instance. |
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 NAMESPACE
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 find(java.lang.String c)
c - command to be found
public static Step get(Axis a,
Test test)
a - axistest - node test
public static Step get(Axis a,
Test test,
Preds preds)
a - axistest - node testpreds - predicates
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[] values()
for (Axis c : Axis.values()) System.out.println(c);
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||