Class YangQNameExpr
java.lang.Object
org.opendaylight.yangtools.yang.xpath.api.YangQNameExpr
- All Implemented Interfaces:
Serializable
,Immutable
,QNameReferent
,YangExpr
- Direct Known Subclasses:
YangQNameExpr.Resolved
,YangQNameExpr.Unresolved
public abstract sealed class YangQNameExpr
extends Object
implements YangExpr, QNameReferent
permits YangQNameExpr.Unresolved, YangQNameExpr.Resolved
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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic YangQNameExpr.Resolved
static YangQNameExpr.Unresolved
of
(UnresolvedQName 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
-
Constructor Details
-
YangQNameExpr
public YangQNameExpr()
-
-
Method Details
-
of
-
of
-