Uses of Interface
org.opendaylight.yangtools.yang.model.api.Module
Packages that use Module
Package
Description
API exposed by generator plugins, i.e.
Definition of structures and DOM like API of effected YANG schema.
Utility classes and implementations for concepts defined in yang-model-api.
-
Uses of Module in org.opendaylight.yangtools.plugin.generator.api
Method parameters in org.opendaylight.yangtools.plugin.generator.api with type arguments of type ModuleModifier and TypeMethodDescriptionFileGenerator.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 ModuleMethods in org.opendaylight.yangtools.yang.data.tree.leafref with parameters of type ModuleModifier and TypeMethodDescriptionstatic LeafRefPath
LeafRefUtils.createAbsoluteLeafRefPath
(LeafRefPath leafRefPath, ImmutableList<QName> contextNodeSchemaPath, Module module) Create an absolute leafref path.static LeafRefPath
LeafRefUtils.schemaPathToLeafRefPath
(ImmutableList<QName> nodePath, Module module) -
Uses of Module in org.opendaylight.yangtools.yang.data.util
Methods in org.opendaylight.yangtools.yang.data.util that return ModuleModifier and TypeMethodDescriptionprotected 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 ModuleModifier and TypeMethodDescriptionSchemaContext.findModule
(@NonNull QNameModule qnameModule) Returns the module matching specifiedQNameModule
, if present.SchemaContext.findModule
(@NonNull XMLNamespace namespace) Returns module instance (from the context) with specified namespace and no revision.SchemaContext.findModule
(@NonNull XMLNamespace namespace, @NonNull Optional<Revision> revision) Returns module instance (from the context) with specified namespace and revision.SchemaContext.findModule
(@NonNull XMLNamespace namespace, @Nullable Revision revision) Returns module instance (from the context) with specified namespace and revision.SchemaContext.findModule
(String name) Returns module instance (from the context) with specified name and no revision.SchemaContext.findModule
(String name, @Nullable Revision revision) Returns module instance (from the context) with specified name and revision.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.spi
Fields in org.opendaylight.yangtools.yang.model.spi with type parameters of type ModuleModifier and TypeFieldDescriptionstatic final 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 final 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 ModuleModifier and TypeMethodDescriptionAbstractSchemaContext.createModuleSet()
Create a TreeSet for containing Modules with the same name, such that the set is ordered byAbstractSchemaContext.REVISION_COMPARATOR
.AbstractSchemaContext.findModule
(String name, Optional<Revision> revision) 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()
SimpleSchemaContext.getModules()
protected abstract SetMultimap<XMLNamespace,
Module> AbstractSchemaContext.getNamespaceToModules()
Returns the namespace-to-module mapping.protected final SetMultimap<XMLNamespace,
Module> SimpleSchemaContext.getNamespaceToModules()
protected abstract SetMultimap<String,
Module> AbstractSchemaContext.getNameToModules()
Returns the module name-to-module mapping.protected final SetMultimap<String,
Module> SimpleSchemaContext.getNameToModules()
ModuleDependencySort.sort
(Collection<? extends Module> modules) Topological sort of module dependency graph.Topological sort of module dependency graph.Methods in org.opendaylight.yangtools.yang.model.spi with parameters of type ModuleModifier and TypeMethodDescriptionTopological sort of module dependency graph.Method parameters in org.opendaylight.yangtools.yang.model.spi with type arguments of type ModuleModifier and TypeMethodDescriptionstatic SimpleSchemaContext
SimpleSchemaContext.forModules
(Collection<? extends Module> modules) Create a new instance from specified modules.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 ModuleModifierConstructorDescriptionprotected
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 ModuleModifier and TypeFieldDescriptionstatic final 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 ModuleModifier and TypeMethodDescriptionprotected Map<QNameModule,
Module> FilteringSchemaContextProxy.getModuleMap()
FilteringSchemaContextProxy.getModules()
protected SetMultimap<XMLNamespace,
Module> FilteringSchemaContextProxy.getNamespaceToModules()
protected SetMultimap<String,
Module> FilteringSchemaContextProxy.getNameToModules()