Class YangLocationPath
- java.lang.Object
-
- org.opendaylight.yangtools.yang.xpath.api.YangLocationPath
-
- All Implemented Interfaces:
Serializable
,Immutable
,MutationBehaviour<Immutable>
,YangExpr
- Direct Known Subclasses:
YangLocationPath.Absolute
,YangLocationPath.Relative
@Beta public abstract class YangLocationPath extends Object implements YangExpr
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YangLocationPath.Absolute
static class
YangLocationPath.AxisStep
static class
YangLocationPath.NamespaceStep
static class
YangLocationPath.NodeTypeStep
static class
YangLocationPath.ProcessingInstructionStep
static class
YangLocationPath.QNameStep
A step along an axis.static class
YangLocationPath.Relative
static class
YangLocationPath.ResolvedQNameStep
static class
YangLocationPath.Step
static class
YangLocationPath.UnresolvedQNameStep
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static YangLocationPath.Absolute
absolute(Collection<YangLocationPath.Step> steps)
static YangLocationPath.Absolute
absolute(YangLocationPath.Step... steps)
boolean
equals(@Nullable Object obj)
ImmutableList<YangLocationPath.Step>
getSteps()
int
hashCode()
abstract boolean
isAbsolute()
static YangLocationPath.Relative
relative(Collection<YangLocationPath.Step> steps)
static YangLocationPath.Relative
relative(YangLocationPath.Step... steps)
static YangLocationPath.Absolute
root()
The conceptualroot
YangLocationPath
.static YangLocationPath.Relative
self()
The conceptualsame
YangLocationPath
.String
toString()
-
-
-
Method Detail
-
absolute
public static final YangLocationPath.Absolute absolute(YangLocationPath.Step... steps)
-
absolute
public static final YangLocationPath.Absolute absolute(Collection<YangLocationPath.Step> steps)
-
relative
public static final YangLocationPath.Relative relative(YangLocationPath.Step... steps)
-
relative
public static final YangLocationPath.Relative relative(Collection<YangLocationPath.Step> steps)
-
root
public static final YangLocationPath.Absolute root()
The conceptualroot
YangLocationPath
. This path is an absolute path and has no steps.- Returns:
- Empty absolute
YangLocationPath
-
self
public static final YangLocationPath.Relative 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
public final ImmutableList<YangLocationPath.Step> getSteps()
-
isAbsolute
public abstract boolean isAbsolute()
-
-