Class YangQNameExpr
- java.lang.Object
-
- org.opendaylight.yangtools.yang.xpath.api.YangQNameExpr
-
- All Implemented Interfaces:
Serializable
,Immutable
,MutationBehaviour<Immutable>
,QNameReferent
,YangExpr
- Direct Known Subclasses:
YangQNameExpr.Resolved
,YangQNameExpr.Unresolved
@Beta public abstract class YangQNameExpr extends Object implements YangExpr, QNameReferent
An XPath QName expression. This is an exact QName, which cannot be converted to a string literal compatible with XPath string representation, because it does not define a prefix/namespace mapping. It represents a strong binding to a particular namespace at a particular revision.Parsers and users of this package are encouraged to use this class in place of
YangLiteralExpr
where appropriate, as it retains type safety and more semantic context.- Author:
- Robert Varga
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
YangQNameExpr.Resolved
static class
YangQNameExpr.Unresolved
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static YangQNameExpr.Unresolved
of(AbstractQName qname)
static YangQNameExpr.Resolved
of(QName qname)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.xpath.api.QNameReferent
getLocalName, getQName
-
-
-
-
Method Detail
-
of
public static YangQNameExpr.Unresolved of(AbstractQName qname)
-
of
public static YangQNameExpr.Resolved of(QName qname)
-
-