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.impl.leafref org.opendaylight.yangtools.yang.data.jaxen.api Deprecated APIs for evaluating XPath expressions onNormalizedNode
trees.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.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.impl.leafref
Methods in org.opendaylight.yangtools.yang.data.impl.leafref that return Module Modifier and Type Method Description Module
LeafRefContext. getLeafRefContextModule()
Methods in org.opendaylight.yangtools.yang.data.impl.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.jaxen.api
Methods in org.opendaylight.yangtools.yang.data.jaxen.api with parameters of type Module Modifier and Type Method Description static @NonNull Converter<String,QNameModule>
PrefixConverters. create(SchemaContext ctx, Module module)
Deprecated.Create a prefixConverter
forXPathExpressionException
defined in a particular YANGModule
.Instantiation requires establishing how a module's imports are mapped to actual modules and their namespaces. -
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 default Optional<Module>
SchemaContext. findModule(@NonNull URI namespace)
Returns module instance (from the context) with specified namespace and no revision.default Optional<Module>
SchemaContext. findModule(@NonNull URI namespace, @NonNull Optional<Revision> revision)
Returns module instance (from the context) with specified namespace and revision.default Optional<Module>
SchemaContext. findModule(@NonNull URI namespace, @Nullable Revision revision)
Returns module instance (from the context) with specified namespace and revision.Optional<Module>
SchemaContext. findModule(@NonNull QNameModule qnameModule)
Returns the module matching specifiedQNameModule
, if present.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 Collection<? extends Module>
SchemaContext. findModules(String name)
Returns module instances (from the context) with a concrete name.default Collection<? extends Module>
SchemaContext. findModules(URI namespace)
Returns module instance (from the context) with concrete namespace.Collection<? extends 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.static void
YinExportUtils. writeSubmoduleAsYinText(Module parentModule, Submodule submodule, OutputStream output)
-
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
protected 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.protected static Comparator<Module>
AbstractSchemaContext. REVISION_COMPARATOR
AModule
comparator based onQNameModuleAware.getRevision()
, placing latest revision first.Methods in org.opendaylight.yangtools.yang.model.util that return Module Modifier and Type Method Description static Module
SchemaContextUtil. findParentModule(SchemaContext context, SchemaNode schemaNode)
Returns parent Yang Module for specified Schema Context in which Schema Node is declared.Methods in org.opendaylight.yangtools.yang.model.util 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(URI namespace)
protected abstract Map<QNameModule,Module>
AbstractSchemaContext. getModuleMap()
Returns the namespace+revision-to-module mapping.protected Map<QNameModule,Module>
FilteringSchemaContextProxy. getModuleMap()
protected Map<QNameModule,Module>
SimpleSchemaContext. getModuleMap()
Set<Module>
FilteringSchemaContextProxy. getModules()
Set<Module>
SimpleSchemaContext. getModules()
protected abstract SetMultimap<URI,Module>
AbstractSchemaContext. getNamespaceToModules()
Returns the namespace-to-module mapping.protected SetMultimap<URI,Module>
FilteringSchemaContextProxy. getNamespaceToModules()
protected SetMultimap<URI,Module>
SimpleSchemaContext. getNamespaceToModules()
protected abstract SetMultimap<String,Module>
AbstractSchemaContext. getNameToModules()
Returns the module name-to-module mapping.protected SetMultimap<String,Module>
FilteringSchemaContextProxy. getNameToModules()
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.util with parameters of type Module Modifier and Type Method Description static SchemaNode
SchemaContextUtil. findDataSchemaNode(SchemaContext context, Module module, PathExpression nonCondXPath)
static SchemaNode
SchemaContextUtil. findDataSchemaNodeForRelativeXPath(SchemaContext context, Module module, SchemaNode actualSchemaNode, PathExpression relativeXPath)
Method attempts to find DataSchemaNode inside of provided Schema Context and Yang Module accordingly to Non-conditional relative Revision Aware XPath.static List<Module>
ModuleDependencySort. sort(Module... modules)
Topological sort of module dependency graph.Method parameters in org.opendaylight.yangtools.yang.model.util 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.util with type arguments of type Module Constructor Description SimpleSchemaContext(Collection<? extends Module> modules)
-
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
.
-