Class ParserNamespace<K,V>

java.lang.Object
org.opendaylight.yangtools.yang.parser.spi.meta.ParserNamespace<K,V>
Type Parameters:
K - Identifier type
V - Value type
All Implemented Interfaces:
Serializable, Identifier, Immutable

@NonNullByDefault public final class ParserNamespace<K,V> extends Object implements Identifier
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: