public enum OXPathAxis extends Enum<OXPathAxis> implements Axis
Enum Constant and Description |
---|
STYLE
style axis
|
Modifier and Type | Field and Description |
---|---|
static String |
AXIS_DELIMITER
axis delimiter
|
Modifier and Type | Method and Description |
---|---|
abstract OXPathType |
evaluate(OXPathContextNode node,
NodeTest nodetest)
evaluates the context node with the step using this axis and nodetest
|
AxisType |
getType()
returns the
AxisType of the object |
String |
getValue()
returns value of axis encoded as
String |
static OXPathAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OXPathAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OXPathAxis STYLE
public static final String AXIS_DELIMITER
public static OXPathAxis[] values()
for (OXPathAxis c : OXPathAxis.values()) System.out.println(c);
public static OXPathAxis 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 String getValue()
String
public AxisType getType()
AxisType
of the objectpublic abstract OXPathType evaluate(OXPathContextNode node, NodeTest nodetest) throws OXPathException
node
- context nodenodetest
- nodetest to applyOXPathException
- in case an inappropriate nodetest is inputCopyright © 2020 OXPath Team. All rights reserved.