Uses of Interface
org.opendaylight.yangtools.yang.model.api.Module
-
Packages that use Module Package Description org.opendaylight.yangtools.yang.data.api.schema.xpath Deprecated APIs for evaluating XPath expressions onNormalizedNode
trees.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.util Utility classes and implementations for concepts defined in yang-model-api.org.opendaylight.yangtools.yang.parser.rfc7950.stmt Statement library for YANG version 1 and 1.1, as defined in RFC6020 and RFC7950.org.opendaylight.yangtools.yang2sources.spi -
-
Uses of Module in org.opendaylight.yangtools.yang.data.api.schema.xpath
Methods in org.opendaylight.yangtools.yang.data.api.schema.xpath 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.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.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<Module>
SchemaContext. findModule(String name)
Returns module instance (from the context) with specified name and no revision.default Optional<Module>
SchemaContext. findModule(String name, @Nullable Revision revision)
Returns module instance (from the context) with specified name and revision.default Optional<Module>
SchemaContext. findModule(String name, Optional<Revision> revision)
Returns module instance (from the context) with specified name and an optional revision.default Set<Module>
SchemaContext. findModules(String name)
Returns module instances (from the context) with a concrete name.default Set<Module>
SchemaContext. findModules(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()
-
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)
Write a module as a YIN text into specifiedOutputStream
.static void
YinExportUtils. writeSubmoduleAsYinText(Module parentModule, Module submodule, OutputStream output)
Write a submodule as a YIN text into specifiedOutputStream
. -
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 ongetName()
andgetRevision()
, ordering modules lexicographically by their name and then in order of descending revision.protected static Comparator<Module>
AbstractSchemaContext. REVISION_COMPARATOR
AModule
comparator based ongetRevision()
, 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<Module>
AbstractSchemaContext. findModule(String name, Optional<Revision> revision)
Optional<Module>
AbstractSchemaContext. findModule(QNameModule qnameModule)
Set<Module>
AbstractSchemaContext. findModules(String name)
Set<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<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(Set<Module> modules)
Create a new instance from specified modules.static List<Module>
ModuleDependencySort. sort(Collection<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(Set<Module> modules)
-
Uses of Module in org.opendaylight.yangtools.yang.parser.rfc7950.stmt
Classes in org.opendaylight.yangtools.yang.parser.rfc7950.stmt that implement Module Modifier and Type Class Description class
AbstractEffectiveModule<D extends DeclaredStatement<String>>
-
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, Function<Module,Optional<String>> moduleResourcePathResolver)
Generate sources from providedEffectiveModelContext
.Collection<File>
BasicCodeGenerator. generateSources(EffectiveModelContext context, File outputBaseDir, Set<Module> currentModules, Function<Module,Optional<String>> moduleResourcePathResolver)
Generate sources from providedEffectiveModelContext
.
-