Package | Description |
---|---|
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 reactor
CrossSourceStatementReactor . |
org.opendaylight.yangtools.yang.test.util |
Modifier and Type | Method and Description |
---|---|
static StatementParserMode |
StatementParserMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatementParserMode[] |
StatementParserMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
default com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> |
SchemaContextFactory.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> |
SchemaContextFactory.createSchemaContext(Collection<SourceIdentifier> requiredSources,
StatementParserMode statementParserMode,
Set<QName> supportedFeatures)
Create a new schema context containing specified sources, pulling in any
dependencies they may have.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<SchemaContext> |
YangTextSchemaContextResolver.getSchemaContext(StatementParserMode statementParserMode)
Try to parse all currently available yang files and build new schema context
in dependence on specified parsing mode.
|
Modifier and Type | Method and Description |
---|---|
CrossSourceStatementReactor.BuildAction |
CrossSourceStatementReactor.newBuild(StatementParserMode statementParserMode)
Start a new reactor build using the specified statement parser mode and enabling all features and deviations.
|
CrossSourceStatementReactor.BuildAction |
CrossSourceStatementReactor.newBuild(StatementParserMode statementParserMode,
Optional<Set<QName>> supportedFeatures)
Deprecated.
Use
CrossSourceStatementReactor.newBuild(StatementParserMode) and then call setSupportedFeatures()
on the created BuildAction instead. |
CrossSourceStatementReactor.BuildAction |
CrossSourceStatementReactor.newBuild(StatementParserMode statementParserMode,
Set<QName> supportedFeatures)
Deprecated.
Use
CrossSourceStatementReactor.newBuild(StatementParserMode) and then call setSupportedFeatures()
on the created BuildAction instead. |
Modifier and Type | Method and Description |
---|---|
static SchemaContext |
YangParserTestUtils.parseYangSource(String yangSourcePath,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG source.
|
static SchemaContext |
YangParserTestUtils.parseYangSource(String yangSourcePath,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG source.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(Collection<File> files,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(Collection<File> files,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(List<String> yangDirs,
List<String> yangFiles,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(List<String> yangDirs,
List<String> yangFiles,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(List<String> filePaths,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(List<String> filePaths,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(Set<QName> supportedFeatures,
StatementParserMode statementParserMode,
File... files)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(Set<QName> supportedFeatures,
StatementParserMode statementParserMode,
YangStatementSourceImpl... sources)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(StatementParserMode statementParserMode,
File... files)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(StatementParserMode statementParserMode,
YangStatementSourceImpl... sources)
Deprecated.
Migration method only, do not use.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(String yangSourcesDirectoryPath,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangSources(String yangSourcesDirectoryPath,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangStreams(List<InputStream> streams,
Set<QName> supportedFeatures,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangStreams(List<InputStream> streams,
StatementParserMode statementParserMode)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangStreams(Set<QName> supportedFeatures,
StatementParserMode statementParserMode,
InputStream... streams)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYangStreams(StatementParserMode statementParserMode,
InputStream... streams)
Creates a new effective schema context containing the specified YANG sources.
|
static SchemaContext |
YangParserTestUtils.parseYinSources(Set<QName> supportedFeatures,
StatementParserMode statementParserMode,
YinStatementStreamSource... sources)
Creates a new effective schema context containing the specified YIN sources.
|
static SchemaContext |
YangParserTestUtils.parseYinSources(StatementParserMode statementParserMode,
YinStatementStreamSource... sources)
Creates a new effective schema context containing the specified YIN sources.
|
Copyright © 2018 OpenDaylight. All rights reserved.