Uses of Interface
org.opendaylight.yangtools.yang.model.api.EffectiveModelContext
-
Packages that use EffectiveModelContext Package Description org.opendaylight.yangtools.yang.data.api.schema.tree org.opendaylight.yangtools.yang.model.api Definition of structures and DOM like API of effected YANG schema.org.opendaylight.yangtools.yang.model.parser.api org.opendaylight.yangtools.yang.model.repo.api org.opendaylight.yangtools.yang.parser.repo org.opendaylight.yangtools.yang.parser.stmt.reactor Contains the implementation of the parser reactorCrossSourceStatementReactor
.org.opendaylight.yangtools.yang.test.util org.opendaylight.yangtools.yang2sources.spi -
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.api.schema.tree
Methods in org.opendaylight.yangtools.yang.data.api.schema.tree with parameters of type EffectiveModelContext Modifier and Type Method Description void
DataTree. setEffectiveModelContext(EffectiveModelContext newModelContext)
Make the data tree use a new schema context. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.model.api
Methods in org.opendaylight.yangtools.yang.model.api that return EffectiveModelContext Modifier and Type Method Description @NonNull EffectiveModelContext
EffectiveModelContextProvider. getEffectiveModelContext()
Return theEffectiveModelContext
attached to this object.Methods in org.opendaylight.yangtools.yang.model.api with parameters of type EffectiveModelContext Modifier and Type Method Description void
EffectiveModelContextListener. onModelContextUpdated(EffectiveModelContext newModelContext)
Invoked when the model context changes. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.model.parser.api
Methods in org.opendaylight.yangtools.yang.model.parser.api that return EffectiveModelContext Modifier and Type Method Description @NonNull EffectiveModelContext
YangParser. buildEffectiveModel()
Build the effective view of a combined view of effective statements. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.model.repo.api
Methods in org.opendaylight.yangtools.yang.model.repo.api that return types with arguments of type EffectiveModelContext Modifier and Type Method Description @NonNull ListenableFuture<EffectiveModelContext>
EffectiveModelContextFactory. createEffectiveModelContext(@NonNull Collection<SourceIdentifier> requiredSources)
Create a new schema context containing specified sources, pulling in any dependencies they may have.default @NonNull ListenableFuture<EffectiveModelContext>
EffectiveModelContextFactory. createEffectiveModelContext(SourceIdentifier... requiredSources)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.parser.repo
Methods in org.opendaylight.yangtools.yang.parser.repo that return EffectiveModelContext Modifier and Type Method Description EffectiveModelContext
YangTextSchemaContextResolver. trySchemaContext()
EffectiveModelContext
YangTextSchemaContextResolver. trySchemaContext(StatementParserMode statementParserMode)
Methods in org.opendaylight.yangtools.yang.parser.repo that return types with arguments of type EffectiveModelContext Modifier and Type Method Description Optional<? extends EffectiveModelContext>
YangTextSchemaContextResolver. getEffectiveModelContext()
Try to parse all currently available yang files and build new schema context.Optional<? extends EffectiveModelContext>
YangTextSchemaContextResolver. getEffectiveModelContext(StatementParserMode statementParserMode)
Try to parse all currently available yang files and build new schema context depending on specified parsing mode. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.parser.stmt.reactor
Classes in org.opendaylight.yangtools.yang.parser.stmt.reactor that implement EffectiveModelContext Modifier and Type Class Description class
EffectiveSchemaContext
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.test.util
Methods in org.opendaylight.yangtools.yang.test.util that return EffectiveModelContext Modifier and Type Method Description static EffectiveModelContext
YangParserTestUtils. parseSources(StatementParserMode parserMode, Set<QName> supportedFeatures, Collection<? extends SchemaSourceRepresentation> sources)
static EffectiveModelContext
YangParserTestUtils. parseYangFiles(File... files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangFiles(Collection<File> files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangFiles(Set<QName> supportedFeatures, File... files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangFiles(Set<QName> supportedFeatures, Collection<File> files)
static EffectiveModelContext
YangParserTestUtils. parseYangFiles(Set<QName> supportedFeatures, StatementParserMode parserMode, File... files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangFiles(Set<QName> supportedFeatures, StatementParserMode parserMode, Collection<File> files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangFiles(StatementParserMode parserMode, File... files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangFiles(StatementParserMode parserMode, Collection<File> files)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResource(String resource)
Creates a new effective schema context containing the specified YANG source.static EffectiveModelContext
YangParserTestUtils. parseYangResource(String resource, Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG source.static EffectiveModelContext
YangParserTestUtils. parseYangResource(String resource, StatementParserMode parserMode)
Creates a new effective schema context containing the specified YANG source.static EffectiveModelContext
YangParserTestUtils. parseYangResource(String resource, StatementParserMode parserMode, Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG source.static EffectiveModelContext
YangParserTestUtils. parseYangResourceDirectory(String resourcePath)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResourceDirectory(String resourcePath, Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResourceDirectory(String resourcePath, Set<QName> supportedFeatures, StatementParserMode parserMode)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResourceDirectory(String resourcePath, StatementParserMode parserMode)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResources(Class<?> clazz, String... resources)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResources(Class<?> clazz, Collection<String> resources)
static EffectiveModelContext
YangParserTestUtils. parseYangResources(List<String> yangDirs, List<String> yangFiles, Set<QName> supportedFeatures)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResources(List<String> yangResourceDirs, List<String> yangResources, Set<QName> supportedFeatures, StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangResources(List<String> yangResourceDirs, List<String> yangResources, StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils. parseYangSources(StatementParserMode parserMode, Set<QName> supportedFeatures, YangTextSchemaSource... sources)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang2sources.spi
Methods in org.opendaylight.yangtools.yang2sources.spi with parameters of type EffectiveModelContext 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
.
-