Interface RevisionAwareXPath
-
- All Known Subinterfaces:
RevisionAwareXPath.WithExpression
- All Known Implementing Classes:
RevisionAwareXPathImpl
public interface RevisionAwareXPath
Contains methods for getting data (concrete XPath) and metadata (is XPath absolute) from XPath instance.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
RevisionAwareXPath.WithExpression
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull String
getOriginalString()
Returns the XPath formatted string as is defined in model.boolean
isAbsolute()
Returnstrue
if the XPapth starts in root of Yang model, otherwise returnsfalse
.
-
-
-
Method Detail
-
isAbsolute
boolean isAbsolute()
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
-
getOriginalString
@NonNull String getOriginalString()
Returns the XPath formatted string as is defined in model. For example: /prefix:container/prefix:container::cond[when()=foo]/prefix:leaf- Returns:
- the XPath formatted string as is defined in model.
-
-