Interface YangXPathParser
- All Known Subinterfaces:
YangXPathParser.QualifiedBound
,YangXPathParser.UnqualifiedBound
public interface YangXPathParser
Interface for converting a String into a
YangXPathExpression
. Implementations of this interface are expected
to be NOT thread-safe.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
AYangXPathParser
bound to aYangNamespaceContext
, producing Qualified-bound Expressions.static interface
AYangXPathParser
bound to aYangNamespaceContext
and a default namespace, producing Unqualified-bound Expressions. -
Method Summary
Modifier and TypeMethodDescriptionparseExpression
(String xpath) Parse a string containing an XPath expression.
-
Method Details
-
parseExpression
Parse a string containing an XPath expression.- Parameters:
xpath
- XPath expression string- Returns:
- A parsed
YangXPathExpression
- Throws:
NullPointerException
- ifxpath
isnull
XPathExpressionException
- when the expression cannot be parsed
-