Class YangLocationPath
java.lang.Object
org.opendaylight.yangtools.yang.xpath.api.YangLocationPath
- All Implemented Interfaces:
Serializable
,Immutable
,YangExpr
- Direct Known Subclasses:
YangLocationPath.Absolute
,YangLocationPath.Relative
public abstract sealed class YangLocationPath
extends Object
implements YangExpr
permits YangLocationPath.Absolute, YangLocationPath.Relative
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static class
static final class
static class
static class
static class
A step along an axis.static final class
static class
static class
static class
-
Method Summary
Modifier and TypeMethodDescriptionstatic final YangLocationPath.Absolute
absolute
(Collection<YangLocationPath.Step> steps) static final YangLocationPath.Absolute
absolute
(YangLocationPath.Step... steps) final boolean
getSteps()
final int
hashCode()
abstract boolean
static final YangLocationPath.Relative
relative
(Collection<YangLocationPath.Step> steps) static final YangLocationPath.Relative
relative
(YangLocationPath.Step... steps) static final YangLocationPath.Absolute
root()
The conceptualroot
YangLocationPath
.static final YangLocationPath.Relative
self()
The conceptualsame
YangLocationPath
.final String
toString()
-
Method Details
-
absolute
-
absolute
-
relative
-
relative
-
root
The conceptualroot
YangLocationPath
. This path is an absolute path and has no steps.- Returns:
- Empty absolute
YangLocationPath
-
self
The conceptualsame
YangLocationPath
. This path is a relative path and has no steps and is equivalent to a step alongYangXPathAxis.SELF
.- Returns:
- Empty relative
YangLocationPath
-
getSteps
-
isAbsolute
public abstract boolean isAbsolute() -
hashCode
public final int hashCode() -
equals
-
toString
-