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 @NonNullByDefault public final class PathExpressionImpl extends AbstractPathExpression
Deprecated.This is a transitional class to transition fromRevisionAwareXPathImpl
. 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.PathExpressionImpl(String xpath, PathExpression.Steps steps)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MoreObjects.ToStringHelper
addToStringAttributes(MoreObjects.ToStringHelper helper)
Deprecated.PathExpression.Steps
getSteps()
Deprecated.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.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.
-
PathExpressionImpl
public PathExpressionImpl(String xpath, PathExpression.Steps steps)
Deprecated.
-
-
Method Detail
-
isAbsolute
public boolean isAbsolute()
Deprecated.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.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.- Overrides:
addToStringAttributes
in classAbstractPathExpression
-
-