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.
-
-
Constructor Summary
Constructors Constructor Description PathExpressionImpl(String xpath, boolean absolute)
Deprecated.PathExpressionImpl(String xpath, YangLocationPath location)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected MoreObjects.ToStringHelper
addToStringAttributes(MoreObjects.ToStringHelper helper)
Deprecated.YangLocationPath
getLocation()
Deprecated.Return theYangLocationPath
of this expression.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, YangLocationPath location)
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
-
getLocation
public YangLocationPath getLocation()
Deprecated.Description copied from interface:PathExpression
Return theYangLocationPath
of this expression.- Returns:
- The location path
-
addToStringAttributes
protected MoreObjects.ToStringHelper addToStringAttributes(MoreObjects.ToStringHelper helper)
Deprecated.- Overrides:
addToStringAttributes
in classAbstractPathExpression
-
-