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.rcf8528.data.util
Methods in org.opendaylight.yangtools.rcf8528.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.rcf8528.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.rcf8528.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.rcf8528.data.util with parameters of type EffectiveModelContext Constructor Description EmptyMountPointContext(EffectiveModelContext modelContext)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.rfc7952.data.util
Methods in org.opendaylight.yangtools.rfc7952.data.util with parameters of type EffectiveModelContext Modifier and Type Method Description static ImmutableNormalizedAnydata
ImmutableMetadataNormalizedAnydata. ofOptional(EffectiveModelContext schemaContext, DataSchemaNode contextNode, NormalizedNode<?,?> data, Optional<NormalizedMetadata> metadata)
Constructors in org.opendaylight.yangtools.rfc7952.data.util with parameters of type EffectiveModelContext Constructor Description ImmutableMetadataNormalizedAnydata(EffectiveModelContext schemaContext, DataSchemaNode contextNode, NormalizedNode<?,?> data, NormalizedMetadata metadata)
-
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.yang.data.api.schema
Methods in org.opendaylight.yangtools.yang.data.api.schema with parameters of type EffectiveModelContext Modifier and Type Method Description NormalizedAnydata
NormalizableAnydata. normalizeTo(EffectiveModelContext schemaContext, DataSchemaNode contextNode)
Attempt to interpret this anydata content in the context of specified tree and node. -
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, NormalizedNodeContainer<?,?,?> 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 schemaContext, SchemaNode parentNode)
Utility method for use when cachingXmlCodecFactory
is not feasible.static XmlParserStream
XmlParserStream. create(NormalizedNodeStreamWriter writer, EffectiveModelContext schemaContext, SchemaNode parentNode, 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, DataNodeContainer rootNode)
Create a new writer with the specified context and rooted at the specified node.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.codec
Methods in org.opendaylight.yangtools.yang.data.impl.codec with parameters of type EffectiveModelContext Modifier and Type Method Description static @NonNull SchemaTracker
SchemaTracker. create(EffectiveModelContext context, SchemaPath path)
Create a new writer with the specified context and rooted in the specified schema path.static @NonNull SchemaTracker
SchemaTracker. create(EffectiveModelContext context, SchemaNodeIdentifier.Absolute path)
Create a new writer with the specified context and rooted in the specified schema path.static @NonNull SchemaTracker
SchemaTracker. forOperation(EffectiveModelContext context, SchemaNodeIdentifier.Absolute operation, QName qname)
Create a new writer with the specified context and rooted in the specified schema path. -
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)
ImmutableNormalizedAnydata
AbstractNormalizableAnydata. normalizeTo(EffectiveModelContext schemaContext, DataSchemaNode contextNode)
protected abstract void
AbstractNormalizableAnydata. writeTo(NormalizedNodeStreamWriter streamWriter, EffectiveModelContext schemaContext, DataSchemaNode contextNode)
Constructors in org.opendaylight.yangtools.yang.data.impl.schema with parameters of type EffectiveModelContext Constructor Description 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, NormalizedNodeContainer<?,?,?> initialRoot)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.jaxen
Methods in org.opendaylight.yangtools.yang.data.jaxen with parameters of type EffectiveModelContext Modifier and Type Method Description XPathSchemaContext
JaxenSchemaContextFactory. createContext(EffectiveModelContext context)
-
Uses of EffectiveModelContext in org.opendaylight.yangtools.yang.data.jaxen.api
Methods in org.opendaylight.yangtools.yang.data.jaxen.api with parameters of type EffectiveModelContext Modifier and Type Method Description XPathSchemaContext
XPathSchemaContextFactory. createContext(EffectiveModelContext context)
Deprecated.Create anXPathSchemaContext
based on aEffectiveModelContext
. -
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)
Constructors in org.opendaylight.yangtools.yang.data.util with parameters of type EffectiveModelContext Constructor Description ImmutableNormalizedAnydata(EffectiveModelContext schemaContext, DataSchemaNode contextNode, NormalizedNode<?,?> data)
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(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.model.util
Methods in org.opendaylight.yangtools.yang.model.util that return EffectiveModelContext Modifier and Type Method Description EffectiveModelContext
AbstractEffectiveModelContextProvider. getEffectiveModelContext()
EffectiveModelContext
SchemaInferenceStack. getEffectiveModelContext()
Constructors in org.opendaylight.yangtools.yang.model.util with parameters of type EffectiveModelContext Constructor Description AbstractEffectiveModelContextProvider(EffectiveModelContext modelContext)
ModuleNameNamespaceContext(EffectiveModelContext schemaContext)
SchemaInferenceStack(EffectiveModelContext effectiveModel)
Create a new empty stack backed by an effective model. -
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, ModuleResourceResolver moduleResourcePathResolver)
Deprecated.Generate sources from providedEffectiveModelContext
.
-