RevisionAwareXPathImpl
. Users are advised to
supply their own implementation of PathExpression.@Deprecated @NonNullByDefault public final class PathExpressionImpl extends AbstractPathExpression
PathExpression.DerefSteps, PathExpression.LocationPathSteps, PathExpression.Steps
Constructor and Description |
---|
PathExpressionImpl(String xpath,
boolean absolute)
Deprecated.
|
PathExpressionImpl(String xpath,
PathExpression.Steps steps)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected MoreObjects.ToStringHelper |
addToStringAttributes(MoreObjects.ToStringHelper helper)
Deprecated.
|
PathExpression.Steps |
getSteps()
Deprecated.
Return the path of this expression, which can either be a
YangLocationPath (compliant to RFC7950) or
a YangPathExpr with filter being an invocation of YangFunction.DEREF . |
boolean |
isAbsolute()
Deprecated.
Returns
true if the XPapth starts in root of YANG model, otherwise returns false . |
getOriginalString, toString
public PathExpressionImpl(String xpath, boolean absolute)
public PathExpressionImpl(String xpath, PathExpression.Steps steps)
public boolean isAbsolute()
PathExpression
true
if the XPapth starts in root of YANG model, otherwise returns false
.true
if the XPapth starts in root of YANG model, otherwise returns false
public PathExpression.Steps getSteps()
PathExpression
YangLocationPath
(compliant to RFC7950) or
a YangPathExpr
with filter being an invocation of YangFunction.DEREF
.protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper helper)
addToStringAttributes
in class AbstractPathExpression
Copyright © 2020 OpenDaylight. All rights reserved.