Class ParserNamespace<K,V>
java.lang.Object
org.opendaylight.yangtools.yang.parser.spi.meta.ParserNamespace<K,V>
- Type Parameters:
K
- Identifier typeV
- Value type
- All Implemented Interfaces:
Serializable
,Identifier
,Immutable
ParserNamespace
serves as common superclass for namespaces used during parser operation. Each such namespace,
is a type-captured subclass. This type capture of namespace allows for handy type-safe reading methods such as
NamespaceStmtCtx.namespaceItem(ParserNamespace, Object)
and still allows introduction of new namespaces
without need to change APIs.- See Also:
-
Constructor Details
-
ParserNamespace
-
-
Method Details
-
toString
- Specified by:
toString
in interfaceIdentifier
- Overrides:
toString
in classObject
-