public enum Axis extends Enum<Axis>
| 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 |
|---|---|
static Axis |
findByInteger(int value) |
static Axis |
findByName(String name) |
static Axis |
findByXPathAxisAbbreviated(String xPathAxisAbbreviated) |
static Axis |
findByXPathAxisName(String xPathAxisName) |
static Set<Axis> |
getAll() |
int |
getIntValue() |
String |
getXPathAxisAbbreviated() |
String |
getXPathAxisName() |
static Axis |
parseAxisType(CharSequence charSequence,
AtomicInteger position) |
static Axis |
parseAxisType(CharSequence charSequence,
int position) |
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 CHILD
public static final Axis DESCENDANT
public static final Axis PARENT
public static final Axis ANCESTOR
public static final Axis FOLLOWING_SIBLING
public static final Axis PRECEDING_SIBLING
public static final Axis FOLLOWING
public static final Axis PRECEDING
public static final Axis ATTRIBUTE
public static final Axis NAMESPACE
public static final Axis SELF
public static final Axis DESCENDANT_OR_SELF
public static final Axis ANCESTOR_OR_SELF
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 nullpublic int getIntValue()
public String getXPathAxisName()
public String getXPathAxisAbbreviated()
public static Axis findByInteger(int value)
public static Axis findByXPathAxisAbbreviated(String xPathAxisAbbreviated)
public static Axis parseAxisType(CharSequence charSequence, int position)
public static Axis parseAxisType(CharSequence charSequence, AtomicInteger position)
Copyright © 2020. All rights reserved.