Enum Class YangXPathAxis
- All Implemented Interfaces:
Serializable
,Comparable<YangXPathAxis>
,Constable
XPath evaluation axis, as defined in XPath 1.0.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTheancestor
axis.Theancestor-or-self
axis.Theattribute
axis.Thechild
axis.Thedescendant
axis.Thedescendant-or-self
axis.Thefollowing
axis.Thefollowing-sibling
axis.Thenamespace
axis.Theparent
axis.Thepreceding
axis.Thepreceding-sibling
axis.Theself
axis. -
Method Summary
Modifier and TypeMethodDescriptionasStep()
Return the name-independentYangLocationPath.AxisStep
along this axis.asStep
(String name, Collection<YangExpr> predicates) asStep
(Collection<YangExpr> predicates) asStep
(QName qname, Collection<YangExpr> predicates) asStep
(UnresolvedQName qname) asStep
(UnresolvedQName qname, Collection<YangExpr> predicates) asStep
(YangXPathNodeType type) asStep
(YangXPathNodeType type, Collection<YangExpr> predicates) toString()
static YangXPathAxis
Returns the enum constant of this class with the specified name.static YangXPathAxis[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CHILD
Thechild
axis. -
DESCENDANT
Thedescendant
axis. -
PARENT
Theparent
axis. -
ANCESTOR
Theancestor
axis. -
FOLLOWING_SIBLING
Thefollowing-sibling
axis. -
PRECEDING_SIBLING
Thepreceding-sibling
axis. -
FOLLOWING
Thefollowing
axis. -
PRECEDING
Thepreceding
axis. -
ATTRIBUTE
Theattribute
axis. -
NAMESPACE
Thenamespace
axis. -
SELF
Theself
axis. -
DESCENDANT_OR_SELF
Thedescendant-or-self
axis. -
ANCESTOR_OR_SELF
Theancestor-or-self
axis.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
asStep
Return the name-independentYangLocationPath.AxisStep
along this axis. XPath defines following axisAxisStep
s:SELF
axis this equals to the "." stepPARENT
axis this equals to the ".." stepDESCENDANT_OR_SELF
axis this equals to the "//" separator
- Returns:
- Name-independent AnyNameStep.
-
asStep
-
asStep
-
asStep
public final YangLocationPath.ResolvedQNameStep asStep(QName qname, Collection<YangExpr> predicates) -
asStep
-
asStep
public final YangLocationPath.UnresolvedQNameStep asStep(UnresolvedQName qname, Collection<YangExpr> predicates) -
asStep
-
asStep
public final YangLocationPath.NodeTypeStep asStep(YangXPathNodeType type, Collection<YangExpr> predicates) -
asStep
-
asStep
public final YangLocationPath.ProcessingInstructionStep asStep(String name, Collection<YangExpr> predicates) -
toString
- Overrides:
toString
in classEnum<YangXPathAxis>
-