@Beta
public interface SchemaContextFactory
SchemaContext instances based on
a specification of what SourceIdentifiers are required and dynamic
recursive resolution.| Modifier and Type | Method and Description |
|---|---|
default com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> |
createSchemaContext(Collection<SourceIdentifier> requiredSources)
Create a new schema context containing specified sources, pulling in any
dependencies they may have.
|
default com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> |
createSchemaContext(Collection<SourceIdentifier> requiredSources,
Set<QName> supportedFeatures)
Create a new schema context containing specified sources, pulling in any
dependencies they may have.
|
default com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> |
createSchemaContext(Collection<SourceIdentifier> requiredSources,
StatementParserMode statementParserMode)
Create a new schema context containing specified sources, pulling in any
dependencies they may have.
|
com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> |
createSchemaContext(Collection<SourceIdentifier> requiredSources,
StatementParserMode statementParserMode,
Set<QName> supportedFeatures)
Create a new schema context containing specified sources, pulling in any
dependencies they may have.
|
default com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> createSchemaContext(@Nonnull Collection<SourceIdentifier> requiredSources)
requiredSources - a collection of sources which are required to be presentdefault com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> createSchemaContext(Collection<SourceIdentifier> requiredSources, StatementParserMode statementParserMode)
requiredSources - a collection of sources which are required to be presentstatementParserMode - mode of statement parserdefault com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> createSchemaContext(@Nonnull Collection<SourceIdentifier> requiredSources, Set<QName> supportedFeatures)
requiredSources - a collection of sources which are required to be presentsupportedFeatures - set of supported features based on which all if-feature statements in the
parsed yang models are resolvedcom.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> createSchemaContext(Collection<SourceIdentifier> requiredSources, StatementParserMode statementParserMode, Set<QName> supportedFeatures)
requiredSources - a collection of sources which are required to be presentstatementParserMode - mode of statement parsersupportedFeatures - set of supported features based on which all if-feature statements in the
parsed yang models are resolvedCopyright © 2018 OpenDaylight. All rights reserved.