Interface QNameReferent
- All Superinterfaces:
Immutable
- All Known Subinterfaces:
ResolvedQNameReferent
,UnresolvedQNameReferent
- All Known Implementing Classes:
YangLocationPath.QNameStep
,YangLocationPath.ResolvedQNameStep
,YangLocationPath.UnresolvedQNameStep
,YangQNameExpr
,YangQNameExpr.Resolved
,YangQNameExpr.Unresolved
public sealed interface QNameReferent
extends Immutable
permits ResolvedQNameReferent, UnresolvedQNameReferent, YangQNameExpr, YangLocationPath.QNameStep
An object referencing a QName, either resolved or unresolved.
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Return local name part of the referenced QName.getQName()
Return the referencedAbstractQName
.
-
Method Details
-
getQName
AbstractQName getQName()Return the referencedAbstractQName
.- Returns:
- An AbstractQName
-
getLocalName
Return local name part of the referenced QName.- Returns:
- Local name string.
-