Package | Description |
---|---|
org.opendaylight.yangtools.odlext.parser |
YANG parser support for OpenDaylight extensions as defined in yang-ext.yang.
|
org.opendaylight.yangtools.yang.model.api.meta |
Meta model of YANG model as was defined in RFC6020 and extracted by analysis
of YANG text.
|
org.opendaylight.yangtools.yang.model.api.stmt | |
org.opendaylight.yangtools.yang.parser.rfc7950.namespace |
Package holding implementation-specific namespace declarations for RFC7950.
|
org.opendaylight.yangtools.yang.parser.rfc7950.stmt |
Statement library for YANG version 1 and 1.1, as defined in RFC6020 and RFC7950.
|
org.opendaylight.yangtools.yang.parser.spi |
Provides essential namespaces which are filled in the parsing process.
|
org.opendaylight.yangtools.yang.parser.spi.meta |
Provides base abstract classes, interfaces and common implementation used by the statement parser.
|
org.opendaylight.yangtools.yang.parser.spi.source |
Provides API necessary for the processing of statement sources.
|
org.opendaylight.yangtools.yang.parser.spi.validation |
Provides interfaces and enumerations necessary for validation processes.
|
org.opendaylight.yangtools.yang.parser.stmt.reactor |
Contains the implementation of the parser reactor
CrossSourceStatementReactor . |
Modifier and Type | Interface and Description |
---|---|
interface |
AnyxmlSchemaLocationNamespace
Source-specific mapping of prefixes to namespaces.
|
Modifier and Type | Method and Description |
---|---|
default <K,V,N extends IdentifierNamespace<K,V>> |
EffectiveStatement.findAll(@NonNull Class<N> namespace)
Returns all local values from supplied namespace.
|
<K,V,N extends IdentifierNamespace<K,V>> |
ForwardingEffectiveStatement.get(Class<N> namespace,
K identifier) |
<K,V,N extends IdentifierNamespace<K,V>> |
EffectiveStatement.get(@NonNull Class<N> namespace,
K identifier)
Returns value associated with supplied identifier.
|
<K,V,N extends IdentifierNamespace<K,V>> |
ForwardingEffectiveStatement.getAll(Class<N> namespace) |
<K,V,N extends IdentifierNamespace<K,V>> |
EffectiveStatement.getAll(@NonNull Class<N> namespace)
Returns all local values from supplied namespace.
|
Modifier and Type | Class and Description |
---|---|
class |
CaseEffectiveStatementNamespace
Namespace of available cases in a choice node.
|
static class |
DataTreeAwareEffectiveStatement.Namespace<T extends DataTreeEffectiveStatement<?>>
Namespace of
data node s. |
class |
EffectiveStatementNamespace<E extends NamespacedEffectiveStatement<?>>
Common super-interface for
IdentifierNamespace s which hold EffectiveStatement s. |
class |
ExtensionEffectiveStatementNamespace
Namespace of available extensions.
|
class |
FeatureEffectiveStatementNamespace
Namespace of available features.
|
class |
IdentityEffectiveStatementNamespace
Namespace of available identities.
|
static class |
ModuleEffectiveStatement.NameToEffectiveSubmoduleNamespace
Namespace mapping all included submodules.
|
static class |
ModuleEffectiveStatement.PrefixToEffectiveModuleNamespace
Namespace mapping all known prefixes in a module to their modules.
|
static class |
ModuleEffectiveStatement.QNameModuleToPrefixNamespace
Namespace mapping all known
QNameModule s to their encoding prefixes. |
static class |
SchemaTreeAwareEffectiveStatement.Namespace<T extends SchemaTreeEffectiveStatement<?>>
Namespace of
schema node s defined within this node. |
Modifier and Type | Interface and Description |
---|---|
interface |
URIStringToImportPrefix
Implementation-internal cache for looking up URI to import prefix.
|
Modifier and Type | Class and Description |
---|---|
class |
ChildSchemaNodeNamespace<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Statement local namespace, which holds direct schema node descendants.
|
class |
SchemaNodeIdentifierBuildNamespace
Deprecated.
Use path-based utilities provided around
ChildSchemaNodeNamespace instead. |
Modifier and Type | Method and Description |
---|---|
<K,V,N extends IdentifierNamespace<K,V>> |
EffectiveStatementBase.get(Class<N> namespace,
K identifier) |
<K,V,N extends IdentifierNamespace<K,V>> |
EffectiveStatementBase.getAll(Class<N> namespace) |
protected <K,V,N extends IdentifierNamespace<K,V>> |
AbstractSchemaEffectiveDocumentedNode.getNamespaceContents(Class<N> namespace) |
protected <K,V,N extends IdentifierNamespace<K,V>> |
EffectiveStatementBase.getNamespaceContents(@NonNull Class<N> namespace)
Return the statement-specific contents of specified namespace, if available.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtensionNamespace
Extension namespace.
|
interface |
FeatureNamespace
Feature namespace.
|
interface |
GroupingNamespace
Grouping namespace.
|
interface |
IdentityNamespace
Identity namespace.
|
interface |
ModuleNamespace
Module namespace.
|
interface |
NamespaceToModule
A derived namespace allowing lookup of modules based on their
QNameModule . |
interface |
PreLinkageModuleNamespace
Intermediate-stage namespace equivalent to ModuleNamespace except it is keyed by module names.
|
interface |
SubmoduleNamespace
Submodule equivalent of ModuleNamespace.
|
interface |
TypeNamespace
Derived types namespace.
|
Modifier and Type | Class and Description |
---|---|
class |
DerivedNamespaceBehaviour<K,V,L,N extends IdentifierNamespace<K,V>,O extends IdentifierNamespace<L,?>>
An
NamespaceBehaviour which derives keys from a different namespace. |
class |
DerivedNamespaceBehaviour<K,V,L,N extends IdentifierNamespace<K,V>,O extends IdentifierNamespace<L,?>>
An
NamespaceBehaviour which derives keys from a different namespace. |
class |
NamespaceBehaviour<K,V,N extends IdentifierNamespace<K,V>>
Definition / implementation of specific Identifier Namespace behaviour.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DerivedIdentitiesNamespace
Identity namespace.
|
interface |
ImportedNamespaceContext<K>
Special namespace which allows import of namespaces from other sources.
|
interface |
SemanticVersionModuleNamespace
Namespace class for storing Maps of all modules with the same name.
|
interface |
SemanticVersionNamespace
Namespace class for storing semantic version of yang modules.
|
interface |
StatementDefinitionNamespace
Module-specific namespace for holding
StatementDefinition s defined by extension statements. |
interface |
StatementNamespace<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> |
static interface |
StatementNamespace.TreeScoped<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> |
Modifier and Type | Class and Description |
---|---|
class |
QNameCacheNamespace
An
IdentifierNamespace implementing a QName internment interface. |
Modifier and Type | Method and Description |
---|---|
<K,V,N extends IdentifierNamespace<K,V>> |
StatementSupportBundle.Builder.addSupport(NamespaceBehaviour<K,V,N> namespaceSupport) |
<K,V,T extends K,U extends V,N extends IdentifierNamespace<K,V>> |
StmtContext.Mutable.addToNs(Class<N> type,
T key,
U value)
Associate a value with a key within a namespace.
|
<K,V,N extends IdentifierNamespace<K,V>> |
StmtContext.getAllFromCurrentStmtCtxNamespace(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.NamespaceStorageNode.getAllFromLocalStorage(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
StmtContext.getAllFromNamespace(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.NamespaceStorageNode.getFromLocalStorage(Class<N> type,
K key) |
<K,V,T extends K,N extends IdentifierNamespace<K,V>> |
StmtContext.getFromNamespace(Class<N> type,
T key)
Return a value associated with specified key within a namespace.
|
<K,V,N extends IdentifierNamespace<K,V>> |
StatementSupportBundle.getNamespaceBehaviour(Class<N> namespace) |
<K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.Registry.getNamespaceBehaviour(Class<N> type)
Get a namespace behavior.
|
static <K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.global(Class<N> identifier)
Creates a global namespace behaviour for supplied namespace type.
|
<K,V,N extends IdentifierNamespace<K,V>> |
StatementSupportBundle.hasNamespaceBehaviour(Class<N> namespace) |
<K,E extends EffectiveStatement<?,?>,N extends IdentifierNamespace<K,? extends StmtContext<?,?,?>>> |
ModelActionBuilder.mutatesEffectiveCtx(StmtContext<?,?,?> context,
Class<N> namespace,
K key) |
default <K,E extends EffectiveStatement<?,?>,N extends IdentifierNamespace<K,? extends StmtContext<?,?,?>>> |
ModelActionBuilder.mutatesEffectiveCtxPath(StmtContext<?,?,?> context,
Class<N> namespace,
Iterable<K> keys) |
<N extends IdentifierNamespace<?,?>> |
ModelActionBuilder.mutatesNs(StmtContext.Mutable<?,?,?> ctx,
Class<N> namespace)
Deprecated.
Undocumented method. Use at your own risk.
|
<K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.NamespaceStorageNode.putToLocalStorage(Class<N> type,
K key,
V value)
Populate specified namespace with a key/value pair, overwriting previous contents.
|
<K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.NamespaceStorageNode.putToLocalStorageIfAbsent(Class<N> type,
K key,
V value)
Populate specified namespace with a key/value pair unless the key is already associated with a value.
|
static <K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.rootStatementLocal(Class<N> identifier)
Creates a root-statement-local namespace behaviour for supplied namespace type.
|
static <K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.sourceLocal(Class<N> identifier)
Creates source-local namespace behaviour for supplied namespace type.
|
static <K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.statementLocal(Class<N> identifier) |
static <K,V,N extends IdentifierNamespace<K,V>> |
NamespaceBehaviour.treeScoped(Class<N> identifier)
Creates tree-scoped namespace behaviour for supplied namespace type.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AugmentToChoiceNamespace
namespace key class for storing augment nodes which are going to be augmented as
shortHand case nodes into choice node.
|
interface |
BelongsToModuleContext
Namespace key class for storing belongs-to statements in YANG model storage.
|
interface |
BelongsToPrefixToModuleCtx
Source-specific mapping of belongsTo prefixes to module identifiers.
|
interface |
BelongsToPrefixToModuleName
Source-specific mapping of prefixes to namespaces.
|
interface |
ImportedModuleContext |
interface |
ImportPrefixToModuleCtx
Source-specific mapping of prefix strings to module context.
|
interface |
ImportPrefixToSemVerSourceIdentifier
Source-specific mapping of prefixes to source identifier with specified semantic version.
|
interface |
ImpPrefixToNamespace
Pre-linkage source-specific mapping of prefixes to module namespaces.
|
interface |
IncludedModuleContext |
interface |
IncludedSubmoduleNameToModuleCtx
Source-specific mapping of prefixes to namespaces.
|
interface |
ModuleCtxToModuleQName
Global mapping of modules to QNameModules.
|
interface |
ModuleCtxToSourceIdentifier
Global mapping of modules to source identifier.
|
interface |
ModuleNamespaceForBelongsTo
namespace class similar to
ModuleNamespace for storing modules
into Yang model storage but keyed by plain name. |
interface |
ModuleNameToModuleQName
Source-specific mapping of prefixes to namespaces.
|
interface |
ModuleNameToNamespace
Pre-linkage global mapping of module names to namespaces.
|
interface |
ModuleQNameToModuleName
Source-specific mapping of prefixes to namespaces.
|
interface |
ModulesDeviatedByModules
Namespace used for storing information about modules that support deviation resolution.
|
interface |
PrefixToModule
Source-specific mapping of prefixes to namespaces.
|
interface |
QNameToStatementDefinition
Map of fully qualified statement name to statement definition.
|
interface |
StmtOrderingNamespace
Map of statement order.
|
interface |
SupportedFeaturesNamespace |
Modifier and Type | Class and Description |
---|---|
class |
PrefixToModuleMap |
class |
QNameToStatementDefinitionMap |
Modifier and Type | Interface and Description |
---|---|
interface |
ValidationBundlesNamespace
Namespace used for validating whether a node is of some type, e.g.
|
Modifier and Type | Method and Description |
---|---|
<K,V,N extends IdentifierNamespace<K,V>> |
RootStatementContext.getAllFromLocalStorage(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
SourceSpecificContext.getAllFromLocalStorage(Class<N> type) |
<K,V,N extends IdentifierNamespace<K,V>> |
RootStatementContext.getFromLocalStorage(Class<N> type,
K key) |
<K,V,N extends IdentifierNamespace<K,V>> |
SourceSpecificContext.getFromLocalStorage(Class<N> type,
K key) |
<K,V,N extends IdentifierNamespace<K,V>> |
SourceSpecificContext.getNamespaceBehaviour(Class<N> type) |
protected <K,V,N extends IdentifierNamespace<K,V>> |
StatementContextBase.onNamespaceElementAdded(Class<N> type,
K key,
V value) |
<K,V,N extends IdentifierNamespace<K,V>> |
RootStatementContext.putToLocalStorage(Class<N> type,
K key,
V value) |
<K,V,N extends IdentifierNamespace<K,V>> |
SourceSpecificContext.putToLocalStorage(Class<N> type,
K key,
V value) |
<K,V,N extends IdentifierNamespace<K,V>> |
SourceSpecificContext.putToLocalStorageIfAbsent(Class<N> type,
K key,
V value) |
Modifier and Type | Method and Description |
---|---|
protected void |
StatementContextBase.checkLocalNamespaceAllowed(Class<? extends IdentifierNamespace<?,?>> type) |
void |
StatementDefinitionContext.checkNamespaceAllowed(Class<? extends IdentifierNamespace<?,?>> namespace) |
Copyright © 2019 OpenDaylight. All rights reserved.