@Beta public interface YangXPathParser
YangXPathExpression
. Implementations of this interface are expected
to be NOT thread-safe.Modifier and Type | Interface and Description |
---|---|
static interface |
YangXPathParser.QualifiedBound
A
YangXPathParser bound to a YangNamespaceContext , producing Qualified-bound Expressions. |
static interface |
YangXPathParser.UnqualifiedBound
A
YangXPathParser bound to a YangNamespaceContext and a default namespace, producing
Unqualified-bound Expressions. |
Modifier and Type | Method and Description |
---|---|
YangXPathExpression |
parseExpression(String xpath)
Parse a string containing an XPath expression.
|
YangXPathExpression parseExpression(String xpath) throws XPathExpressionException
xpath
- XPath expression stringYangXPathExpression
NullPointerException
- if xpath
is nullXPathExpressionException
- when the expression cannot be parsedCopyright © 2020 OpenDaylight. All rights reserved.