| Package | Description | 
|---|---|
| org.opendaylight.yangtools.yang.data.api.schema.xpath | |
| org.opendaylight.yangtools.yang.data.impl.leafref | |
| org.opendaylight.yangtools.yang.data.util | |
| org.opendaylight.yangtools.yang.model.api | 
 Definition of structures and DOM like API of effected YANG schema 
 | 
| org.opendaylight.yangtools.yang.model.export | |
| 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.stmt.rfc6020.effective | 
 Contains implementation of Rfc6020 effective statements. 
 | 
| org.opendaylight.yangtools.yang.parser.util | |
| org.opendaylight.yangtools.yang2sources.spi | 
| Modifier and Type | Method and Description | 
|---|---|
static com.google.common.base.Converter<String,QNameModule> | 
PrefixConverters.create(SchemaContext ctx,
      Module module)
Create a prefix  
Converter for XPathExpressionException defined in a particular YANG
 Module .Instantiation requires establishing how a module's imports are mapped to actual modules
 and their namespaces. | 
| Modifier and Type | Method and Description | 
|---|---|
Module | 
LeafRefContext.getLeafRefContextModule()  | 
| Modifier and Type | Method and Description | 
|---|---|
static LeafRefPath | 
LeafRefUtils.createAbsoluteLeafRefPath(LeafRefPath leafRefPath,
                         SchemaPath contextNodeSchemaPath,
                         Module module)  | 
static LeafRefPath | 
LeafRefUtils.schemaPathToLeafRefPath(SchemaPath nodePath,
                       Module module)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract Module | 
AbstractModuleStringInstanceIdentifierCodec.moduleForPrefix(String prefix)
Resolve a string prefix into the corresponding module. 
 | 
protected abstract Module | 
AbstractModuleStringIdentityrefCodec.moduleForPrefix(String prefix)
Resolve a string prefix into the corresponding module. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Module | 
SchemaContext.findModuleByName(String name,
                Date revision)
Returns module instance (from the context) with concrete name and
 revision date. 
 | 
default Module | 
SchemaContext.findModuleByNamespaceAndRevision(URI namespace,
                                Date revision)
Returns module instance based on given namespace and revision. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
default Set<Module> | 
SchemaContext.findModuleByNamespace(URI namespace)
Returns module instance (from the context) with concrete namespace. 
 | 
Set<Module> | 
SchemaContext.getModules()
Returns modules which are part of the schema context. 
 | 
Set<Module> | 
Module.getSubmodules()  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
YinExportUtils.writeModuleToOutputStream(SchemaContext ctx,
                         Module module,
                         OutputStream str)
Writes YIN representation of supplied module to specified output stream. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
SchemaContextBuilder | 
SchemaContextBuilder.addModules(Module... elements)
Adds elements to  
modules set. | 
SchemaContextBuilder | 
SchemaContextBuilder.addModules(Module element)
Adds one element to  
modules set. | 
ModuleBuilder | 
ModuleBuilder.addSubmodules(Module... elements)
Adds elements to  
submodules set. | 
ModuleBuilder | 
ModuleBuilder.addSubmodules(Module element)
Adds one element to  
submodules set. | 
| Modifier and Type | Method and Description | 
|---|---|
SchemaContextBuilder | 
SchemaContextBuilder.addAllModules(Iterable<? extends Module> elements)
Adds elements to  
modules set. | 
ModuleBuilder | 
ModuleBuilder.addAllSubmodules(Iterable<? extends Module> elements)
Adds elements to  
submodules set. | 
| Modifier and Type | Field and Description | 
|---|---|
protected static com.google.common.base.Supplier<TreeSet<Module>> | 
AbstractSchemaContext.MODULE_SET_SUPPLIER  | 
static Function<Module,FilteringSchemaContextProxy.ModuleId> | 
FilteringSchemaContextProxy.ModuleId.MODULE_TO_MODULE_ID  | 
protected static Comparator<Module> | 
AbstractSchemaContext.REVISION_COMPARATOR  | 
| Modifier and Type | Method and Description | 
|---|---|
Module | 
AbstractSchemaContext.findModuleByName(String name,
                Date revision)  | 
static Module | 
SchemaContextUtil.findParentModule(SchemaContext context,
                SchemaNode schemaNode)
Returns parent Yang Module for specified Schema Context in which Schema
 Node is declared. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Module> | 
AbstractSchemaContext.findModuleByNamespace(URI namespace)  | 
Set<Module> | 
FilteringSchemaContextProxy.getModules()  | 
protected com.google.common.collect.SetMultimap<URI,Module> | 
FilteringSchemaContextProxy.getNamespaceToModules()  | 
protected abstract com.google.common.collect.SetMultimap<URI,Module> | 
AbstractSchemaContext.getNamespaceToModules()  | 
protected com.google.common.collect.SetMultimap<String,Module> | 
FilteringSchemaContextProxy.getNameToModules()  | 
protected abstract com.google.common.collect.SetMultimap<String,Module> | 
AbstractSchemaContext.getNameToModules()  | 
| Modifier and Type | Method and Description | 
|---|---|
static SchemaNode | 
SchemaContextUtil.findDataSchemaNode(SchemaContext context,
                  Module module,
                  RevisionAwareXPath nonCondXPath)
Method attempts to find DataSchemaNode inside of provided Schema Context
 and Yang Module accordingly to Non-conditional Revision Aware XPath. 
 | 
static SchemaNode | 
SchemaContextUtil.findDataSchemaNodeForRelativeXPath(SchemaContext context,
                                  Module module,
                                  SchemaNode actualSchemaNode,
                                  RevisionAwareXPath relativeXPath)
Method attempts to find DataSchemaNode inside of provided Schema Context
 and Yang Module accordingly to Non-conditional relative Revision Aware
 XPath. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ModuleEffectiveStatementImpl  | 
class  | 
SubmoduleEffectiveStatementImpl  | 
| Modifier and Type | Method and Description | 
|---|---|
Set<Module> | 
EffectiveSchemaContext.getModules()  | 
protected com.google.common.collect.SetMultimap<URI,Module> | 
EffectiveSchemaContext.getNamespaceToModules()  | 
protected com.google.common.collect.SetMultimap<String,Module> | 
EffectiveSchemaContext.getNameToModules()  | 
| Modifier and Type | Method and Description | 
|---|---|
static SchemaContext | 
EffectiveSchemaContext.resolveSchemaContext(Set<Module> modules)  | 
| Constructor and Description | 
|---|
EffectiveSchemaContext(Set<Module> modules)  | 
| Modifier and Type | Method and Description | 
|---|---|
static List<Module> | 
ModuleDependencySort.sort(Iterable<Module> modules)
Topological sort of module dependency graph. 
 | 
static List<Module> | 
ModuleDependencySort.sort(Module... modules)
Topological sort of module dependency graph. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static List<Module> | 
ModuleDependencySort.sort(Module... modules)
Topological sort of module dependency graph. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static List<Module> | 
ModuleDependencySort.sort(Iterable<Module> modules)
Topological sort of module dependency graph. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Collection<File> | 
BasicCodeGenerator.generateSources(SchemaContext context,
               File outputBaseDir,
               Set<Module> currentModules)
Deprecated. 
 
Implement  
BasicCodeGenerator.generateSources(SchemaContext, File, Set, Function) instead. | 
default Collection<File> | 
BasicCodeGenerator.generateSources(SchemaContext context,
               File outputBaseDir,
               Set<Module> currentModules,
               Function<Module,Optional<String>> moduleResourcePathResolver)
Generate sources from provided  
SchemaContext | 
default Collection<File> | 
BasicCodeGenerator.generateSources(SchemaContext context,
               File outputBaseDir,
               Set<Module> currentModules,
               Function<Module,Optional<String>> moduleResourcePathResolver)
Generate sources from provided  
SchemaContext | 
Copyright © 2018 OpenDaylight. All rights reserved.