@Beta public enum YangXPathAxis extends Enum<YangXPathAxis>
| Enum Constant and Description |
|---|
ANCESTOR
The
ancestor axis. |
ANCESTOR_OR_SELF
The
ancestor-or-self axis. |
ATTRIBUTE
The
attribute axis. |
CHILD
The
child axis. |
DESCENDANT
The
descendant axis. |
DESCENDANT_OR_SELF
The
descendant-or-self axis. |
FOLLOWING
The
following axis. |
FOLLOWING_SIBLING
The
following-sibling axis. |
NAMESPACE
The
namespace axis. |
PARENT
The
parent axis. |
PRECEDING
The
preceding axis. |
PRECEDING_SIBLING
The
preceding-sibling axis. |
SELF
The
self axis. |
| Modifier and Type | Method and Description |
|---|---|
YangLocationPath.AxisStep |
asStep()
Return the name-independent
YangLocationPath.AxisStep along this axis. |
YangLocationPath.AxisStep |
asStep(Collection<YangExpr> predicates) |
YangLocationPath.QNameStep |
asStep(QName qname,
Collection<YangExpr> predicates) |
YangLocationPath.ProcessingInstructionStep |
asStep(String name,
Collection<YangExpr> predicates) |
YangLocationPath.NodeTypeStep |
asStep(YangXPathNodeType type,
Collection<YangExpr> predicates) |
String |
toString() |
static YangXPathAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YangXPathAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YangXPathAxis CHILD
child axis.public static final YangXPathAxis DESCENDANT
descendant axis.public static final YangXPathAxis PARENT
parent axis.public static final YangXPathAxis ANCESTOR
ancestor axis.public static final YangXPathAxis FOLLOWING_SIBLING
following-sibling axis.public static final YangXPathAxis PRECEDING_SIBLING
preceding-sibling axis.public static final YangXPathAxis FOLLOWING
following axis.public static final YangXPathAxis PRECEDING
preceding axis.public static final YangXPathAxis ATTRIBUTE
attribute axis.public static final YangXPathAxis NAMESPACE
namespace axis.public static final YangXPathAxis SELF
self axis.public static final YangXPathAxis DESCENDANT_OR_SELF
descendant-or-self axis.public static final YangXPathAxis ANCESTOR_OR_SELF
ancestor-or-self axis.public static YangXPathAxis[] values()
for (YangXPathAxis c : YangXPathAxis.values()) System.out.println(c);
public static YangXPathAxis 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 final YangLocationPath.AxisStep asStep()
YangLocationPath.AxisStep along this axis. XPath defines following axis AxisSteps:
SELF axis this equals to the "." stepPARENT axis this equals to the ".." stepDESCENDANT_OR_SELF axis this equals to the "//" separatorpublic final YangLocationPath.AxisStep asStep(Collection<YangExpr> predicates)
public final YangLocationPath.QNameStep asStep(QName qname, Collection<YangExpr> predicates)
public final YangLocationPath.NodeTypeStep asStep(YangXPathNodeType type, Collection<YangExpr> predicates)
public final YangLocationPath.ProcessingInstructionStep asStep(String name, Collection<YangExpr> predicates)
public String toString()
toString in class Enum<YangXPathAxis>Copyright © 2019 OpenDaylight. All rights reserved.