Uses of Interface
org.opendaylight.yangtools.yang.model.api.EffectiveModelContext
-
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.plugin.generator.api
Methods in org.opendaylight.yangtools.plugin.generator.api with parameters of type EffectiveModelContext 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 EffectiveModelContext in org.opendaylight.yangtools.rfc8528.data.api
Methods in org.opendaylight.yangtools.rfc8528.data.api with parameters of type EffectiveModelContext Modifier and Type Method Description NormalizedNode
MountPointChild. normalizeTo(EffectiveModelContext schemaContext)
Normalized this child to a particular EffectiveModelContext. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.rfc8528.data.util
Methods in org.opendaylight.yangtools.rfc8528.data.util that return EffectiveModelContext Modifier and Type Method Description protected abstract @NonNull EffectiveModelContext
AbstractDynamicMountPointContextFactory. bindLibrary(@NonNull YangLibraryConstants.ContainerName containerName, @NonNull ContainerNode libData)
Assemble the MountPointContext for specified normalized YANG Library top-level container.Methods in org.opendaylight.yangtools.rfc8528.data.util that return types with arguments of type EffectiveModelContext Modifier and Type Method Description protected abstract Optional<EffectiveModelContext>
AbstractDynamicMountPointContextFactory. findSchemaForLibrary(@NonNull YangLibraryConstants.ContainerName containerName)
Return the schema in which YANG Library container content should be interpreted.Methods in org.opendaylight.yangtools.rfc8528.data.util with parameters of type EffectiveModelContext Modifier and Type Method Description protected abstract @NonNull MountPointContext
AbstractDynamicMountPointContextFactory. createMountPointContext(@NonNull EffectiveModelContext schemaContext, @NonNull ContainerNode mountData)
protected MountPointContext
AbstractMountPointContextFactory. createMountPointContext(EffectiveModelContext schemaContext, ContainerNode mountData)
Constructors in org.opendaylight.yangtools.rfc8528.data.util with parameters of type EffectiveModelContext Constructor Description EmptyMountPointContext(EffectiveModelContext modelContext)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.api.schema.tree
Methods in org.opendaylight.yangtools.yang.data.api.schema.tree that return EffectiveModelContext Modifier and Type Method Description EffectiveModelContext
SynchronizedDataTreeModification. getEffectiveModelContext()
Methods in org.opendaylight.yangtools.yang.data.api.schema.tree with parameters of type EffectiveModelContext Modifier and Type Method Description @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.codec.gson
Methods in org.opendaylight.yangtools.yang.data.codec.gson with parameters of type EffectiveModelContext Modifier and Type Method Description @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 EffectiveModelContext Modifier and Type Method Description static 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, SchemaPath 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, SchemaNodeIdentifier.Absolute path)
Create a new writer with the specified context and rooted in the specified schema path.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.leafref
Methods in org.opendaylight.yangtools.yang.data.impl.leafref with parameters of type EffectiveModelContext Modifier and Type Method Description static LeafRefContext
LeafRefContext. create(EffectiveModelContext ctx)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.impl.schema
Methods in org.opendaylight.yangtools.yang.data.impl.schema with parameters of type EffectiveModelContext Modifier and Type Method Description NormalizedNode
AbstractMountPointChild. normalizeTo(EffectiveModelContext schemaContext)
Constructors in org.opendaylight.yangtools.yang.data.impl.schema with parameters of type EffectiveModelContext Constructor Description SchemaOrderedNormalizedNodeWriter(NormalizedNodeStreamWriter writer, EffectiveModelContext schemaContext)
Create a new writer backed by aNormalizedNodeStreamWriter
.SchemaOrderedNormalizedNodeWriter(NormalizedNodeStreamWriter writer, EffectiveModelContext schemaContext, SchemaPath path)
Create a new writer backed by aNormalizedNodeStreamWriter
. -
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.impl.schema.tree
Methods in org.opendaylight.yangtools.yang.data.impl.schema.tree with parameters of type EffectiveModelContext Modifier and Type Method Description DataTree
InMemoryDataTreeFactory. create(DataTreeConfiguration treeConfig, EffectiveModelContext initialSchemaContext)
DataTree
InMemoryDataTreeFactory. create(DataTreeConfiguration treeConfig, EffectiveModelContext initialSchemaContext, DistinctNodeContainer<?,?> initialRoot)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.util
Methods in org.opendaylight.yangtools.yang.data.util that return EffectiveModelContext Modifier and Type Method Description EffectiveModelContext
ModuleStringIdentityrefCodec. getEffectiveModelContext()
Methods in org.opendaylight.yangtools.yang.data.util with parameters of type EffectiveModelContext Modifier and Type Method Description static DataSchemaContextNode<?>
DataSchemaContextNode. from(EffectiveModelContext ctx)
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, SchemaPath path)
Deprecated.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 EffectiveModelContext Constructor Description 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 EffectiveModelContext Modifier and Type Method Description static 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 EffectiveModelContext Constructor Description 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 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(@NonNull 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()
Deprecated, for removal: This API element is subject to removal in a future version.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.model.spi
Methods in org.opendaylight.yangtools.yang.model.spi that return EffectiveModelContext Modifier and Type Method Description EffectiveModelContext
AbstractEffectiveModelContextProvider. getEffectiveModelContext()
Methods in org.opendaylight.yangtools.yang.model.spi with parameters of type EffectiveModelContext Modifier and Type Method Description static DefaultSchemaTreeInference
DefaultSchemaTreeInference. of(EffectiveModelContext modelContext, SchemaNodeIdentifier.Absolute path)
Create a new instance.Constructors in org.opendaylight.yangtools.yang.model.spi with parameters of type EffectiveModelContext Constructor Description AbstractEffectiveModelContextProvider(EffectiveModelContext modelContext)
AbstractEffectiveStatementInference(@NonNull EffectiveModelContext modelContext)
WithPath(@NonNull EffectiveModelContext modelContext, @NonNull ImmutableList<T> path)
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 EffectiveModelContext Modifier and Type Method Description EffectiveModelContext
SchemaInferenceStack. getEffectiveModelContext()
Methods in org.opendaylight.yangtools.yang.model.util with parameters of type EffectiveModelContext Modifier and Type Method Description static @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.static @NonNull SchemaInferenceStack
SchemaInferenceStack. ofInstantiatedPath(EffectiveModelContext effectiveModel, SchemaPath path)
Deprecated.Constructors in org.opendaylight.yangtools.yang.model.util with parameters of type EffectiveModelContext Constructor Description ModuleNameNamespaceContext(EffectiveModelContext schemaContext)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.parser.api
Methods in org.opendaylight.yangtools.yang.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.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(YangParserConfiguration config, 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, 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)
-
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, ModuleResourceResolver moduleResourcePathResolver)
Deprecated.Generate sources from providedEffectiveModelContext
.
-