Uses of Interface
org.opendaylight.yangtools.yang.model.api.EffectiveModelContext
Packages that use EffectiveModelContext
Package
Description
API exposed by generator plugins, i.e.
Definition of normalized YANG DOM Model.
Definition of structures and DOM like API of effected YANG schema.
Utility classes and implementations for concepts defined in yang-model-api.
YANG parser public API.
This package holds the 'parser implementation', which really is just glue code holding together the statement
reactor, base RFC6020/RFC7950 support bundles and supported semantic extensions.
Contains the implementation of the parser reactor
CrossSourceStatementReactor
.-
Uses of EffectiveModelContext in org.opendaylight.yangtools.plugin.generator.api
Methods in org.opendaylight.yangtools.plugin.generator.api with parameters of type EffectiveModelContextModifier 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 EffectiveModelContext in org.opendaylight.yangtools.yang.data.api.schema
Methods in org.opendaylight.yangtools.yang.data.api.schema with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionMountPointChild.normalizeTo
(EffectiveModelContext schemaContext) Normalized this child to a particular EffectiveModelContext.static @NonNull MountPointContext
MountPointContext.of
(@NonNull EffectiveModelContext modelContext) Return an emptyMountPointContext
with the specifiedEffectiveModelContext
. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.codec.gson
Methods in org.opendaylight.yangtools.yang.data.codec.gson with parameters of type EffectiveModelContextModifier and TypeMethodDescription@NonNull JSONCodecFactory
JSONCodecFactorySupplier.createLazy
(@NonNull EffectiveModelContext context) Create a new thread-unsafe, lazily-cachingJSONCodecFactory
for a SchemaContext.@NonNull JSONCodecFactory
JSONCodecFactorySupplier.createSimple
(@NonNull EffectiveModelContext context) Create a simplistic, thread-safeJSONCodecFactory
for aEffectiveModelContext
.@NonNull JSONCodecFactory
JSONCodecFactorySupplier.getPrecomputed
(@NonNull EffectiveModelContext context) Get a thread-safe, eagerly-cachingJSONCodecFactory
for a SchemaContext.@NonNull Optional<JSONCodecFactory>
JSONCodecFactorySupplier.getPrecomputedIfAvailable
(@NonNull EffectiveModelContext context) Get a thread-safe, eagerly-cachingJSONCodecFactory
for a SchemaContext, if it is available.@NonNull JSONCodecFactory
JSONCodecFactorySupplier.getShared
(@NonNull EffectiveModelContext context) Get a thread-safe, lazily-cachingJSONCodecFactory
for a SchemaContext. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.codec.xml
Methods in org.opendaylight.yangtools.yang.data.codec.xml with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionstatic XmlCodecFactory
XmlCodecFactory.create
(EffectiveModelContext context) Instantiate a new codec factory attached to a particular context.static XmlParserStream
XmlParserStream.create
(NormalizedNodeStreamWriter writer, EffectiveModelContext context) Utility method for use when cachingXmlCodecFactory
is not feasible.static XmlParserStream
XmlParserStream.create
(NormalizedNodeStreamWriter writer, EffectiveModelContext context, boolean strictParsing) Utility method for use when cachingXmlCodecFactory
is not feasible.static @NonNull NormalizedNodeStreamWriter
XMLStreamNormalizedNodeStreamWriter.create
(XMLStreamWriter writer, EffectiveModelContext context) Create a new writer with the specified context as its root.static @NonNull NormalizedNodeStreamWriter
XMLStreamNormalizedNodeStreamWriter.create
(XMLStreamWriter writer, EffectiveModelContext context, @Nullable SchemaNodeIdentifier.Absolute path) Create a new writer with the specified context and rooted in the specified schema path.static @NonNull NormalizedNodeStreamWriter
XMLStreamNormalizedNodeStreamWriter.create
(XMLStreamWriter writer, EffectiveModelContext context, YangInstanceIdentifier path) Create a new writer with the specified context and rooted in the specifiedYangInstanceIdentifier
.static @NonNull NormalizedNodeStreamWriter
XMLStreamNormalizedNodeStreamWriter.forInputOf
(XMLStreamWriter writer, EffectiveModelContext context, SchemaNodeIdentifier.Absolute operationPath) Create a new writer with the specified context and rooted in the specified operation's input.static @NonNull NormalizedNodeStreamWriter
XMLStreamNormalizedNodeStreamWriter.forOutputOf
(XMLStreamWriter writer, EffectiveModelContext context, SchemaNodeIdentifier.Absolute operationPath) Create a new writer with the specified context and rooted in the specified operation's output. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.impl.schema
Methods in org.opendaylight.yangtools.yang.data.impl.schema with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionstatic @NonNull NormalizedNode
ImmutableNodes.fromInstanceId
(EffectiveModelContext ctx, YangInstanceIdentifier id) Convert YangInstanceIdentifier into a normalized node structure.final NormalizedNode
AbstractMountPointChild.normalizeTo
(EffectiveModelContext schemaContext) Constructors in org.opendaylight.yangtools.yang.data.impl.schema with parameters of type EffectiveModelContextModifierConstructorDescriptionSchemaOrderedNormalizedNodeWriter
(NormalizedNodeStreamWriter writer, EffectiveModelContext schemaContext) Create a new writer backed by aNormalizedNodeStreamWriter
.SchemaOrderedNormalizedNodeWriter
(NormalizedNodeStreamWriter writer, EffectiveModelContext schemaContext, SchemaNodeIdentifier.Absolute path) Create a new writer backed by aNormalizedNodeStreamWriter
. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.tree.api
Methods in org.opendaylight.yangtools.yang.data.tree.api with parameters of type EffectiveModelContextModifier and TypeMethodDescription@NonNull DataTree
DataTreeFactory.create
(DataTreeConfiguration treeConfig, EffectiveModelContext initialSchemaContext) Create a new data tree based on specified configuration, with a root node derived from the schema context lookup of the configuration.@NonNull DataTree
DataTreeFactory.create
(DataTreeConfiguration treeConfig, EffectiveModelContext initialSchemaContext, DistinctNodeContainer<?, ?> initialRoot) Create a new data tree based on specified configuration, with the specified node.void
DataTree.setEffectiveModelContext
(EffectiveModelContext newModelContext) Make the data tree use a new schema context. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.tree.impl
Methods in org.opendaylight.yangtools.yang.data.tree.impl with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionvoid
InMemoryDataTree.setEffectiveModelContext
(EffectiveModelContext newModelContext) Constructors in org.opendaylight.yangtools.yang.data.tree.impl with parameters of type EffectiveModelContextModifierConstructorDescriptionInMemoryDataTree
(TreeNode rootNode, DataTreeConfiguration treeConfig, EffectiveModelContext schemaContext) InMemoryDataTree
(TreeNode rootNode, DataTreeConfiguration treeConfig, EffectiveModelContext schemaContext, DataSchemaNode rootSchemaNode, boolean maskMandatory) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.tree.impl.di
Methods in org.opendaylight.yangtools.yang.data.tree.impl.di with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionInMemoryDataTreeFactory.create
(DataTreeConfiguration treeConfig, EffectiveModelContext initialSchemaContext) InMemoryDataTreeFactory.create
(DataTreeConfiguration treeConfig, EffectiveModelContext initialSchemaContext, DistinctNodeContainer<?, ?> initialRoot) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.tree.leafref
Methods in org.opendaylight.yangtools.yang.data.tree.leafref with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionstatic LeafRefContext
LeafRefContext.create
(EffectiveModelContext ctx) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.util
Methods in org.opendaylight.yangtools.yang.data.util that return EffectiveModelContextModifier and TypeMethodDescriptionprotected abstract @NonNull EffectiveModelContext
AbstractDynamicMountPointContextFactory.bindLibrary
(@NonNull MountPointContextFactory.ContainerName containerName, @NonNull ContainerNode libData) Assemble the MountPointContext for specified normalized YANG Library top-level container.final EffectiveModelContext
ModuleStringIdentityrefCodec.getEffectiveModelContext()
Methods in org.opendaylight.yangtools.yang.data.util that return types with arguments of type EffectiveModelContextModifier and TypeMethodDescriptionprotected abstract Optional<EffectiveModelContext>
AbstractDynamicMountPointContextFactory.findSchemaForLibrary
(@NonNull MountPointContextFactory.ContainerName containerName) Return the schema in which YANG Library container content should be interpreted.Methods in org.opendaylight.yangtools.yang.data.util with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionprotected abstract @NonNull MountPointContext
AbstractDynamicMountPointContextFactory.createMountPointContext
(@NonNull EffectiveModelContext schemaContext, @NonNull ContainerNode mountData) protected final MountPointContext
AbstractMountPointContextFactory.createMountPointContext
(EffectiveModelContext schemaContext, ContainerNode mountData) static @NonNull DataSchemaContextTree
DataSchemaContextTree.from
(@NonNull EffectiveModelContext ctx) static @NonNull NormalizedNodeStreamWriterStack
NormalizedNodeStreamWriterStack.of
(EffectiveModelContext context) Create a new writer at the root of specifiedEffectiveModelContext
.static @NonNull NormalizedNodeStreamWriterStack
NormalizedNodeStreamWriterStack.of
(EffectiveModelContext context, YangInstanceIdentifier path) Create a new writer with the specified context and rooted in the specifiedYangInstanceIdentifier
..static @NonNull NormalizedNodeStreamWriterStack
NormalizedNodeStreamWriterStack.of
(EffectiveModelContext context, SchemaNodeIdentifier.Absolute path) Create a new writer with the specified context and rooted in the specified schema path.static @NonNull NormalizedNodeStreamWriterStack
NormalizedNodeStreamWriterStack.ofOperation
(EffectiveModelContext context, SchemaNodeIdentifier.Absolute operation, QName qname) Create a new writer with the specified context and rooted in the specified schema path.Constructors in org.opendaylight.yangtools.yang.data.util with parameters of type EffectiveModelContextModifierConstructorDescriptionprotected
ModuleStringIdentityrefCodec
(@NonNull EffectiveModelContext context, @NonNull QNameModule parentModule) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.util.codec
Methods in org.opendaylight.yangtools.yang.data.util.codec with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionstatic IdentitySchemaNode
IdentityCodecUtil.parseIdentity
(String value, EffectiveModelContext schemaContext, Function<String, QNameModule> prefixToModule) Parse a string into a QName using specified prefix-to-QNameModule mapping function, interpreting the result as an IdentitySchemaNode existing in specified SchemaContext.Constructors in org.opendaylight.yangtools.yang.data.util.codec with parameters of type EffectiveModelContextModifierConstructorDescriptionprotected
AbstractCodecFactory
(@NonNull EffectiveModelContext schemaContext, @NonNull CodecCache<T> cache) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.model.api
Methods in org.opendaylight.yangtools.yang.model.api that return EffectiveModelContextModifier and TypeMethodDescription@NonNull EffectiveModelContext
EffectiveModelContextProvider.getEffectiveModelContext()
Return theEffectiveModelContext
attached to this object.Methods in org.opendaylight.yangtools.yang.model.api with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionvoid
EffectiveModelContextListener.onModelContextUpdated
(@NonNull EffectiveModelContext newModelContext) Invoked when the model context changes. -
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 EffectiveModelContextModifier and TypeMethodDescription@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.model.spi
Methods in org.opendaylight.yangtools.yang.model.spi that return EffectiveModelContextModifier and TypeMethodDescriptionfinal EffectiveModelContext
AbstractEffectiveModelContextProvider.getEffectiveModelContext()
Methods in org.opendaylight.yangtools.yang.model.spi with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionstatic DefaultSchemaTreeInference
DefaultSchemaTreeInference.of
(EffectiveModelContext modelContext, SchemaNodeIdentifier.Absolute path) Create a new instance based on anEffectiveModelContext
and anSchemaNodeIdentifier.Absolute
schema node identifier.static DefaultSchemaTreeInference
DefaultSchemaTreeInference.unsafeOf
(EffectiveModelContext modelContext, ImmutableList<? extends SchemaTreeEffectiveStatement<?>> path) Create a new instance based on anEffectiveModelContext
and a resolved sequence of statements.Constructors in org.opendaylight.yangtools.yang.model.spi with parameters of type EffectiveModelContextModifierConstructorDescriptionprotected
AbstractEffectiveModelContextProvider
(EffectiveModelContext modelContext) protected
AbstractEffectiveStatementInference
(@NonNull EffectiveModelContext modelContext) protected
WithPath
(@NonNull EffectiveModelContext modelContext, @NonNull ImmutableList<T> path) protected
WithPath
(@NonNull EffectiveModelContext modelContext, @NonNull List<? extends T> path) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.model.util
Methods in org.opendaylight.yangtools.yang.model.util that return EffectiveModelContextMethods in org.opendaylight.yangtools.yang.model.util with parameters of type EffectiveModelContextModifier and TypeMethodDescriptionstatic @NonNull SchemaInferenceStack
SchemaInferenceStack.of
(EffectiveModelContext effectiveModel) Create a new empty stack backed by an effective model.static @NonNull SchemaInferenceStack
SchemaInferenceStack.of
(EffectiveModelContext effectiveModel, SchemaNodeIdentifier.Absolute path) Create a new stack backed by an effective model, pointing to specified schema node identified bySchemaNodeIdentifier.Absolute
.static @NonNull SchemaInferenceStack.Inference
SchemaInferenceStack.Inference.ofDataTreePath
(EffectiveModelContext effectiveModel, QName... qnames) Create a new stack backed by an effective model and set up to point and specified data tree node.static @NonNull SchemaInferenceStack
SchemaInferenceStack.ofDataTreePath
(EffectiveModelContext effectiveModel, QName... path) Create a new stack backed by an effective model and set up to point and specified data tree node.Constructors in org.opendaylight.yangtools.yang.model.util with parameters of type EffectiveModelContext -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.parser.api
Methods in org.opendaylight.yangtools.yang.parser.api that return EffectiveModelContextModifier and TypeMethodDescription@NonNull EffectiveModelContext
YangParser.buildEffectiveModel()
Build the effective view of a combined view of effective statements.@NonNull EffectiveModelContext
YangLibResolver.resolveModuleSet
(YangLibModuleSet moduleSet) Build the effective view of a combined view of effective statements. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.parser.impl
Methods in org.opendaylight.yangtools.yang.parser.impl that return EffectiveModelContextModifier and TypeMethodDescriptionDefaultYangLibResolver.resolveModuleSet
(YangLibModuleSet moduleSet) -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.parser.repo
Methods in org.opendaylight.yangtools.yang.parser.repo that return EffectiveModelContextModifier and TypeMethodDescriptionYangTextSchemaContextResolver.trySchemaContext()
YangTextSchemaContextResolver.trySchemaContext
(StatementParserMode statementParserMode) Methods in org.opendaylight.yangtools.yang.parser.repo that return types with arguments of type EffectiveModelContextModifier and TypeMethodDescriptionOptional<? 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 -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.test.util
Methods in org.opendaylight.yangtools.yang.test.util that return EffectiveModelContextModifier and TypeMethodDescriptionstatic EffectiveModelContext
YangParserTestUtils.parseSources
(YangParserConfiguration config, Set<QName> supportedFeatures, Collection<? extends SchemaSourceRepresentation> sources) static EffectiveModelContext
Creates a new effective schema context containing the specified YANG 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, YangParserConfiguration config, File... files) Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils.parseYangFiles
(Set<QName> supportedFeatures, YangParserConfiguration config, Collection<File> files) Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils.parseYangFiles
(YangParserConfiguration config, File... files) Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils.parseYangFiles
(YangParserConfiguration config, 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, YangParserConfiguration config) Creates a new effective schema context containing the specified YANG source.static EffectiveModelContext
YangParserTestUtils.parseYangResource
(String resource, YangParserConfiguration config, 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, YangParserConfiguration config) Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils.parseYangResourceDirectory
(String resourcePath, YangParserConfiguration config) 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, YangParserConfiguration config) Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils.parseYangResources
(List<String> yangResourceDirs, List<String> yangResources, YangParserConfiguration config) Creates a new effective schema context containing the specified YANG sources.static EffectiveModelContext
YangParserTestUtils.parseYangSources
(YangParserConfiguration config, Set<QName> supportedFeatures, YangTextSchemaSource... sources)