public enum AbbreviatedStep extends Enum<AbbreviatedStep> implements Step
Enum Constant and Description |
---|
PARENT
parent step
|
SELF
self step
|
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
returns the axis associated with this step
|
NodeTest |
getNodeTest()
returns the nodetest associated with this step
|
boolean |
isPlainXPath() |
String |
toOXPath() |
static AbbreviatedStep |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbbreviatedStep[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbbreviatedStep SELF
public static final AbbreviatedStep PARENT
public static AbbreviatedStep[] values()
for (AbbreviatedStep c : AbbreviatedStep.values()) System.out.println(c);
public static AbbreviatedStep 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 Axis getAxis()
public NodeTest getNodeTest()
getNodeTest
in interface Step
public boolean isPlainXPath()
isPlainXPath
in interface Step
Copyright © 2020 OXPath Team. All rights reserved.