Class PathExpressionImpl
- java.lang.Object
-
- org.opendaylight.yangtools.yang.model.util.AbstractPathExpression
-
- org.opendaylight.yangtools.yang.model.util.PathExpressionImpl
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,PathExpression
@Deprecated(forRemoval=true) @NonNullByDefault public final class PathExpressionImpl extends AbstractPathExpression
Deprecated, for removal: This API element is subject to removal in a future version.Users are advised to supply their own implementation of PathExpression.A simple XPathExpression implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.PathExpression
PathExpression.DerefSteps, PathExpression.LocationPathSteps, PathExpression.Steps
-
-
Constructor Summary
Constructors Constructor Description PathExpressionImpl(String xpath, boolean absolute)
Deprecated, for removal: This API element is subject to removal in a future version.PathExpressionImpl(String xpath, PathExpression.Steps steps)
Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MoreObjects.ToStringHelper
addToStringAttributes(MoreObjects.ToStringHelper helper)
Deprecated, for removal: This API element is subject to removal in a future version.PathExpression.Steps
getSteps()
Deprecated, for removal: This API element is subject to removal in a future version.Return the path of this expression, which can either be aYangLocationPath
(compliant to RFC7950) or aYangPathExpr
with filter being an invocation ofYangFunction.DEREF
.boolean
isAbsolute()
Deprecated, for removal: This API element is subject to removal in a future version.Returnstrue
if the XPapth starts in root of YANG model, otherwise returnsfalse
.-
Methods inherited from class org.opendaylight.yangtools.yang.model.util.AbstractPathExpression
getOriginalString, toString
-
-
-
-
Constructor Detail
-
PathExpressionImpl
public PathExpressionImpl(String xpath, boolean absolute)
Deprecated, for removal: This API element is subject to removal in a future version.
-
PathExpressionImpl
public PathExpressionImpl(String xpath, PathExpression.Steps steps)
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Detail
-
isAbsolute
public boolean isAbsolute()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PathExpression
Returnstrue
if the XPapth starts in root of YANG model, otherwise returnsfalse
.- Returns:
true
if the XPapth starts in root of YANG model, otherwise returnsfalse
-
getSteps
public PathExpression.Steps getSteps()
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:PathExpression
Return the path of this expression, which can either be aYangLocationPath
(compliant to RFC7950) or aYangPathExpr
with filter being an invocation ofYangFunction.DEREF
.- Returns:
- The path's steps
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper helper)
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
addToStringAttributes
in classAbstractPathExpression
-
-