Uses of Interface
org.opendaylight.yangtools.yang.model.api.Module
-
Packages that use Module Package Description org.opendaylight.yangtools.plugin.generator.api API exposed by generator plugins, i.e.org.opendaylight.yangtools.yang.data.tree.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.spi org.opendaylight.yangtools.yang.model.util Utility classes and implementations for concepts defined in yang-model-api.org.opendaylight.yangtools.yang2sources.spi -
-
Uses of Module in org.opendaylight.yangtools.plugin.generator.api
Method parameters in org.opendaylight.yangtools.plugin.generator.api with type arguments of type Module Modifier and Type Method Description Table<GeneratedFileType,GeneratedFilePath,GeneratedFile>
FileGenerator. generateFiles(EffectiveModelContext context, Set<Module> localModules, ModuleResourceResolver moduleResourcePathResolver)
Generate files from aSchemaContext
, being aware the that specific modules are local to the current project being processed. -
Uses of Module in org.opendaylight.yangtools.yang.data.tree.leafref
Methods in org.opendaylight.yangtools.yang.data.tree.leafref that return Module Modifier and Type Method Description Module
LeafRefContext. getLeafRefContextModule()
Methods in org.opendaylight.yangtools.yang.data.tree.leafref with parameters of type Module Modifier and Type Method Description static LeafRefPath
LeafRefUtils. createAbsoluteLeafRefPath(LeafRefPath leafRefPath, SchemaPath contextNodeSchemaPath, Module module)
Create an absolute leafref path.static LeafRefPath
LeafRefUtils. schemaPathToLeafRefPath(SchemaPath nodePath, Module module)
-
Uses of Module in org.opendaylight.yangtools.yang.data.util
Methods in org.opendaylight.yangtools.yang.data.util that return Module Modifier and Type Method Description protected abstract @Nullable Module
AbstractModuleStringIdentityrefCodec. moduleForPrefix(@NonNull String prefix)
Resolve a string prefix into the corresponding module.protected abstract @Nullable Module
AbstractModuleStringInstanceIdentifierCodec. moduleForPrefix(@NonNull String prefix)
Resolve a string prefix into the corresponding module. -
Uses of Module in org.opendaylight.yangtools.yang.model.api
Methods in org.opendaylight.yangtools.yang.model.api that return types with arguments of type Module Modifier and Type Method Description Optional<Module>
SchemaContext. findModule(@NonNull QNameModule qnameModule)
Returns the module matching specifiedQNameModule
, if present.default Optional<Module>
SchemaContext. findModule(@NonNull XMLNamespace namespace)
Returns module instance (from the context) with specified namespace and no revision.default Optional<Module>
SchemaContext. findModule(@NonNull XMLNamespace namespace, @NonNull Optional<Revision> revision)
Returns module instance (from the context) with specified namespace and revision.default Optional<Module>
SchemaContext. findModule(@NonNull XMLNamespace namespace, @Nullable Revision revision)
Returns module instance (from the context) with specified namespace and revision.default Optional<? extends Module>
SchemaContext. findModule(String name)
Returns module instance (from the context) with specified name and no revision.default Optional<? extends Module>
SchemaContext. findModule(String name, @Nullable Revision revision)
Returns module instance (from the context) with specified name and revision.default Optional<? extends Module>
SchemaContext. findModule(String name, Optional<Revision> revision)
Returns module instance (from the context) with specified name and an optional revision.default @NonNull Collection<? extends @NonNull Module>
SchemaContext. findModules(String name)
Returns module instances (from the context) with a concrete name.default @NonNull Collection<? extends @NonNull Module>
SchemaContext. findModules(XMLNamespace namespace)
Returns module instance (from the context) with concrete namespace.@NonNull Collection<? extends @NonNull Module>
SchemaContext. getModules()
Returns modules which are part of the schema context. -
Uses of Module in org.opendaylight.yangtools.yang.model.export
Methods in org.opendaylight.yangtools.yang.model.export with parameters of type Module Modifier and Type Method Description static void
YinExportUtils. writeModuleAsYinText(Module module, OutputStream output)
Deprecated, for removal: This API element is subject to removal in a future version.static void
YinExportUtils. writeSubmoduleAsYinText(Module parentModule, Submodule submodule, OutputStream output)
Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Module in org.opendaylight.yangtools.yang.model.spi
Fields in org.opendaylight.yangtools.yang.model.spi with type parameters of type Module Modifier and Type Field Description static Comparator<Module>
AbstractSchemaContext. NAME_REVISION_COMPARATOR
AModule
comparator based onModuleLike.getName()
andQNameModuleAware.getRevision()
, ordering modules lexicographically by their name and then in order of descending revision.static Comparator<Module>
AbstractSchemaContext. REVISION_COMPARATOR
AModule
comparator based onQNameModuleAware.getRevision()
, placing latest revision first.Methods in org.opendaylight.yangtools.yang.model.spi that return types with arguments of type Module Modifier and Type Method Description protected static TreeSet<Module>
AbstractSchemaContext. createModuleSet()
Create a TreeSet for containing Modules with the same name, such that the set is ordered byAbstractSchemaContext.REVISION_COMPARATOR
.Optional<? extends Module>
AbstractSchemaContext. findModule(String name, Optional<Revision> revision)
Optional<Module>
AbstractSchemaContext. findModule(QNameModule qnameModule)
Collection<? extends Module>
AbstractSchemaContext. findModules(String name)
Collection<? extends Module>
AbstractSchemaContext. findModules(XMLNamespace namespace)
protected abstract Map<QNameModule,Module>
AbstractSchemaContext. getModuleMap()
Returns the namespace+revision-to-module mapping.protected Map<QNameModule,Module>
SimpleSchemaContext. getModuleMap()
Set<Module>
SimpleSchemaContext. getModules()
protected abstract SetMultimap<XMLNamespace,Module>
AbstractSchemaContext. getNamespaceToModules()
Returns the namespace-to-module mapping.protected SetMultimap<XMLNamespace,Module>
SimpleSchemaContext. getNamespaceToModules()
protected abstract SetMultimap<String,Module>
AbstractSchemaContext. getNameToModules()
Returns the module name-to-module mapping.protected SetMultimap<String,Module>
SimpleSchemaContext. getNameToModules()
static List<Module>
ModuleDependencySort. sort(Collection<? extends Module> modules)
Topological sort of module dependency graph.static List<Module>
ModuleDependencySort. sort(Module... modules)
Topological sort of module dependency graph.Methods in org.opendaylight.yangtools.yang.model.spi with parameters of type Module Modifier and Type Method Description static List<Module>
ModuleDependencySort. sort(Module... modules)
Topological sort of module dependency graph.Method parameters in org.opendaylight.yangtools.yang.model.spi with type arguments of type Module Modifier and Type Method Description static SimpleSchemaContext
SimpleSchemaContext. forModules(Collection<? extends Module> modules)
Create a new instance from specified modules.static List<Module>
ModuleDependencySort. sort(Collection<? extends Module> modules)
Topological sort of module dependency graph.Constructor parameters in org.opendaylight.yangtools.yang.model.spi with type arguments of type Module Constructor Description SimpleSchemaContext(Collection<? extends @NonNull Module> modules)
-
Uses of Module in org.opendaylight.yangtools.yang.model.util
Fields in org.opendaylight.yangtools.yang.model.util with type parameters of type Module Modifier and Type Field Description static Function<Module,FilteringSchemaContextProxy.ModuleId>
FilteringSchemaContextProxy.ModuleId. MODULE_TO_MODULE_ID
Methods in org.opendaylight.yangtools.yang.model.util that return types with arguments of type Module Modifier and Type Method Description protected Map<QNameModule,Module>
FilteringSchemaContextProxy. getModuleMap()
Set<Module>
FilteringSchemaContextProxy. getModules()
protected SetMultimap<XMLNamespace,Module>
FilteringSchemaContextProxy. getNamespaceToModules()
protected SetMultimap<String,Module>
FilteringSchemaContextProxy. getNameToModules()
-
Uses of Module in org.opendaylight.yangtools.yang2sources.spi
Method parameters in org.opendaylight.yangtools.yang2sources.spi with type arguments of type Module Modifier and Type Method Description Collection<File>
BasicCodeGenerator. generateSources(EffectiveModelContext context, File outputBaseDir, Set<Module> currentModules, ModuleResourceResolver moduleResourcePathResolver)
Deprecated.Generate sources from providedEffectiveModelContext
.
-