Package | Description |
---|---|
org.opendaylight.yangtools.yang.model.api |
Definition of structures and DOM like API of effected YANG schema
|
org.opendaylight.yangtools.yang.model.immutable |
Generated immutable implementations for org.opendaylight.yangtools.yang.model.api interfaces.
|
org.opendaylight.yangtools.yang.model.util |
Utility classes and implementations for concepts defined in yang-model-api.
|
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.stmt.reactor |
Contains the implementation of the parser reactor
CrossSourceStatementReactor . |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective |
Contains implementation of Rfc6020 effective statements.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Module
This interface contains the methods for getting the data from the YANG
module.
Example of YANG module
|
Modifier and Type | Method and Description |
---|---|
Set<ModuleIdentifier> |
SchemaContext.getAllModuleIdentifiers()
Get all module and submodule identifiers.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<String> |
SchemaContext.getModuleSource(ModuleIdentifier moduleIdentifier)
Get yang source code represented as string for matching
ModuleIdentifier . |
Modifier and Type | Method and Description |
---|---|
SchemaContextBuilder |
SchemaContextBuilder.addAllModuleIdentifiers(ModuleIdentifier... elements)
Adds elements to
allModuleIdentifiers set. |
SchemaContextBuilder |
SchemaContextBuilder.addAllModuleIdentifiers(ModuleIdentifier element)
Adds one element to
allModuleIdentifiers set. |
Modifier and Type | Method and Description |
---|---|
SchemaContextBuilder |
SchemaContextBuilder.addAllAllModuleIdentifiers(Iterable<? extends ModuleIdentifier> elements)
Adds elements to
allModuleIdentifiers set. |
Modifier and Type | Class and Description |
---|---|
class |
ModuleIdentifierImpl
ModuleIdentifier that can be used for indexing/searching by name.
|
Modifier and Type | Method and Description |
---|---|
static ModuleIdentifier |
ModuleIdentifierImpl.create(String name,
Optional<URI> namespace,
Optional<Date> revision) |
static ModuleIdentifier |
ModuleIdentifierImpl.create(String name,
Optional<URI> namespace,
Optional<Date> revision,
SemVer semVer) |
Modifier and Type | Method and Description |
---|---|
Set<ModuleIdentifier> |
AbstractSchemaContext.getAllModuleIdentifiers() |
protected Map<ModuleIdentifier,String> |
FilteringSchemaContextProxy.getIdentifiersToSources() |
protected abstract Map<ModuleIdentifier,String> |
AbstractSchemaContext.getIdentifiersToSources() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<String> |
AbstractSchemaContext.getModuleSource(ModuleIdentifier moduleIdentifier) |
Modifier and Type | Method and Description |
---|---|
void |
StmtContext.Mutable.addRequiredModule(ModuleIdentifier dependency)
Add required module.
|
void |
StmtContext.Mutable.setRootIdentifier(ModuleIdentifier identifier)
Set identifier of current root context.
|
Modifier and Type | Method and Description |
---|---|
void |
RootStatementContext.addRequiredModule(ModuleIdentifier dependency) |
void |
RootStatementContext.setRootIdentifier(ModuleIdentifier identifier) |
Modifier and Type | Class and Description |
---|---|
class |
ModuleEffectiveStatementImpl |
class |
SubmoduleEffectiveStatementImpl |
Modifier and Type | Method and Description |
---|---|
Set<ModuleIdentifier> |
EffectiveSchemaContext.getAllModuleIdentifiers() |
protected Map<ModuleIdentifier,String> |
EffectiveSchemaContext.getIdentifiersToSources() |
Copyright © 2018 OpenDaylight. All rights reserved.