Interface YangXPathParser
-
- All Known Subinterfaces:
YangXPathParser.QualifiedBound
,YangXPathParser.UnqualifiedBound
@Beta public interface YangXPathParser
Interface for converting a String into aYangXPathExpression
. Implementations of this interface are expected to be NOT thread-safe.- Author:
- Robert Varga
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
YangXPathParser.QualifiedBound
AYangXPathParser
bound to aYangNamespaceContext
, producing Qualified-bound Expressions.static interface
YangXPathParser.UnqualifiedBound
AYangXPathParser
bound to aYangNamespaceContext
and a default namespace, producing Unqualified-bound Expressions.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description YangXPathExpression
parseExpression(String xpath)
Parse a string containing an XPath expression.
-
-
-
Method Detail
-
parseExpression
YangXPathExpression parseExpression(String xpath) throws XPathExpressionException
Parse a string containing an XPath expression.- Parameters:
xpath
- XPath expression string- Returns:
- A parsed
YangXPathExpression
- Throws:
NullPointerException
- ifxpath
is nullXPathExpressionException
- when the expression cannot be parsed
-
-