public enum ForwardAxis extends Enum<ForwardAxis> implements Axis
Enum Constant and Description |
---|
ATTRIBUTE
attribute axis
|
CHILD
child axis
|
DESCENDANT
descendant
|
DESCENDANTORSELF
descendant-or-self axis
|
FOLLOWING
following
|
FOLLOWINGSIBLING
following-sibling
|
NAMESPACE
namespace
|
SELF
self
|
Modifier and Type | Field and Description |
---|---|
static String |
AXIS_DELIMITER
axis delimiter
|
Modifier and Type | Method and Description |
---|---|
AxisType |
getType()
returns the
AxisType of the object |
String |
getValue()
returns value of axis encoded as
String |
static ForwardAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ForwardAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ForwardAxis ATTRIBUTE
public static final ForwardAxis CHILD
public static final ForwardAxis DESCENDANTORSELF
public static final ForwardAxis DESCENDANT
public static final ForwardAxis FOLLOWINGSIBLING
public static final ForwardAxis FOLLOWING
public static final ForwardAxis NAMESPACE
public static final ForwardAxis SELF
public static final String AXIS_DELIMITER
public static ForwardAxis[] values()
for (ForwardAxis c : ForwardAxis.values()) System.out.println(c);
public static ForwardAxis 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
Copyright © 2020 OXPath Team. All rights reserved.