Package | Description |
---|---|
org.opendaylight.yangtools.yang.model.repo.api | |
org.opendaylight.yangtools.yang.model.repo.spi | |
org.opendaylight.yangtools.yang.model.repo.util | |
org.opendaylight.yangtools.yang.parser.repo | |
org.opendaylight.yangtools.yang.parser.rfc6020.repo | |
org.opendaylight.yangtools.yang.parser.spi.meta |
Provides base abstract classes, interfaces and common implementation used by the statement parser.
|
org.opendaylight.yangtools.yang.parser.stmt.rfc6020 |
Contains implementation of statement supports for Rfc6020 statements and
implementation of declared statements.
|
org.opendaylight.yangtools.yang.parser.util |
Modifier and Type | Class and Description |
---|---|
class |
RevisionSourceIdentifier
YANG Schema revision source identifier
Simple transfer object represents revision identifier of source for YANG
schema (module or submodule), which consists of
YANG schema name (
getName()
Module revision (optional) ({link getRevision() )
Revision source identifier is designated to be carry only necessary
information to look-up YANG model source and to be used by various
SchemaSourceProviders. |
class |
SemVerSourceIdentifier
YANG Schema source identifier with specified semantic version
Simple transfer object represents identifier of source for YANG schema
(module or submodule), which consists of
YANG schema name
getName()
Semantic version of yang schema SemVerSourceIdentifier.getSemanticVersion()
(Optional) Module revision ({link getRevision()
Source identifier is designated to be carry only necessary information to
look-up YANG model source and to be used by various SchemaSourceProviders. |
Modifier and Type | Method and Description |
---|---|
static SourceIdentifier |
SourceIdentifier.create(String moduleName,
com.google.common.base.Optional<String> revision)
|
SourceIdentifier |
SchemaResolutionException.getFailedSource()
Return YANG schema source identifier consisting of name and revision of the module which caused this exception
|
SourceIdentifier |
YangTextSchemaSource.getIdentifier() |
SourceIdentifier |
SchemaSourceRepresentation.getIdentifier()
Return this objects Identifier
|
SourceIdentifier |
YinTextSchemaSource.getIdentifier()
Return this objects Identifier
|
SourceIdentifier |
MissingSchemaSourceException.getSourceId() |
static SourceIdentifier |
YangTextSchemaSource.identifierFromFilename(String name) |
static SourceIdentifier |
YinTextSchemaSource.identifierFromFilename(String name) |
SourceIdentifier |
SourceIdentifier.intern()
Return an interned reference to a equivalent SemVerSourceIdentifier.
|
Modifier and Type | Method and Description |
---|---|
Collection<SourceIdentifier> |
SchemaResolutionException.getResolvedSources() |
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> |
SchemaResolutionException.getUnsatisfiedImports()
Return the list of sources which failed to resolve along with reasons
why they were not resolved.
|
Modifier and Type | Method and Description |
---|---|
static YinDomSchemaSource |
YinDomSchemaSource.create(SourceIdentifier identifier,
DOMSource source)
Create a new
YinDomSchemaSource using an identifier and a source. |
static YangTextSchemaSource |
YangTextSchemaSource.delegateForByteSource(SourceIdentifier identifier,
com.google.common.io.ByteSource delegate)
Create a new YangTextSchemaSource with a specific source identifier and backed
by ByteSource, which provides the actual InputStreams.
|
static YinTextSchemaSource |
YinTextSchemaSource.delegateForByteSource(SourceIdentifier identifier,
com.google.common.io.ByteSource delegate)
Create a new YinTextSchemaSource with a specific source identifier and backed
by ByteSource, which provides the actual InputStreams.
|
<T extends SchemaSourceRepresentation> |
SchemaRepository.getSchemaSource(SourceIdentifier id,
Class<T> represetation) |
Modifier and Type | Method and Description |
---|---|
default com.google.common.util.concurrent.CheckedFuture<SchemaContext,SchemaResolutionException> |
SchemaContextFactory.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> |
SchemaContextFactory.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> |
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.
|
Constructor and Description |
---|
MissingSchemaSourceException(String message,
SourceIdentifier id) |
MissingSchemaSourceException(String s,
SourceIdentifier id,
Throwable t) |
SchemaResolutionException(String message,
SourceIdentifier failedSource,
Throwable cause) |
SchemaResolutionException(String message,
SourceIdentifier failedSource,
Throwable cause,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
YangTextSchemaSource(SourceIdentifier identifier) |
YinTextSchemaSource(SourceIdentifier identifier) |
Constructor and Description |
---|
SchemaResolutionException(String message,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(String message,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(String message,
SourceIdentifier failedSource,
Throwable cause,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
SchemaResolutionException(String message,
SourceIdentifier failedSource,
Throwable cause,
Collection<SourceIdentifier> resolvedSources,
com.google.common.collect.Multimap<SourceIdentifier,ModuleImport> unsatisfiedImports) |
Modifier and Type | Method and Description |
---|---|
SourceIdentifier |
PotentialSchemaSource.getSourceIdentifier() |
Modifier and Type | Method and Description |
---|---|
static <T extends SchemaSourceRepresentation> |
PotentialSchemaSource.create(SourceIdentifier sourceIdentifier,
Class<? extends T> representation,
int cost) |
com.google.common.util.concurrent.CheckedFuture<? extends T,SchemaSourceException> |
SchemaSourceProvider.getSource(SourceIdentifier sourceIdentifier)
Returns a representation a for supplied YANG source identifier.
|
Modifier and Type | Method and Description |
---|---|
<T extends SchemaSourceRepresentation> |
AbstractSchemaRepository.getSchemaSource(SourceIdentifier id,
Class<T> representation) |
com.google.common.util.concurrent.CheckedFuture<? extends T,SchemaSourceException> |
FilesystemSchemaSourceCache.getSource(SourceIdentifier sourceIdentifier) |
com.google.common.util.concurrent.CheckedFuture<D,SchemaSourceException> |
SchemaSourceTransformer.getSource(SourceIdentifier sourceIdentifier) |
com.google.common.util.concurrent.CheckedFuture<? extends T,SchemaSourceException> |
InMemorySchemaSourceCache.getSource(SourceIdentifier sourceIdentifier) |
protected SchemaSourceRegistration<T> |
AbstractSchemaSourceCache.register(SourceIdentifier sourceIdentifier)
Register the presence of a cached schema source with the consumer.
|
Modifier and Type | Method and Description |
---|---|
Set<SourceIdentifier> |
YangTextSchemaContextResolver.getAvailableSources()
Return the set of sources currently available in this resolved.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.CheckedFuture<YangTextSchemaSource,SchemaSourceException> |
YangTextSchemaContextResolver.getSource(SourceIdentifier sourceIdentifier) |
Modifier and Type | Method and Description |
---|---|
SourceIdentifier |
YangStatementStreamSource.getIdentifier() |
SourceIdentifier |
YinStatementStreamSource.getIdentifier() |
Modifier and Type | Method and Description |
---|---|
static SourceIdentifier |
StmtContextUtils.createSourceIdentifier(StmtContext<?,?,?> root) |
SourceIdentifier |
ReactorException.getSourceIdentifier() |
Constructor and Description |
---|
ReactorException(ModelProcessingPhase phase,
String message,
SourceIdentifier sourceId) |
ReactorException(ModelProcessingPhase phase,
String message,
SourceIdentifier sourceId,
Throwable cause) |
SomeModifiersUnresolvedException(ModelProcessingPhase phase,
SourceIdentifier sourceId,
Throwable cause) |
Constructor and Description |
---|
YangStatementSourceImpl(SourceIdentifier identifier,
YangStatementParser.StatementContext statementContext)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<ASTSchemaSource,SourceIdentifier> |
ASTSchemaSource.GET_IDENTIFIER
Deprecated.
|
static com.google.common.base.Function<ASTSchemaSource,SourceIdentifier> |
ASTSchemaSource.GET_SEMVER_IDENTIFIER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SourceIdentifier |
ASTSchemaSource.getIdentifier() |
Modifier and Type | Method and Description |
---|---|
static ASTSchemaSource |
ASTSchemaSource.create(SourceIdentifier identifier,
org.antlr.v4.runtime.ParserRuleContext tree)
Create a new instance of AST representation for a abstract syntax tree, performing minimal semantic analysis
to acquire dependency information.
|
static ASTSchemaSource |
ASTSchemaSource.create(SourceIdentifier identifier,
org.antlr.v4.runtime.ParserRuleContext tree,
String text)
Deprecated.
|
static ASTSchemaSource |
ASTSchemaSource.create(String symbolicName,
SourceIdentifier identifier,
org.antlr.v4.runtime.ParserRuleContext tree)
Create a new instance of AST representation for a abstract syntax tree, performing minimal semantic analysis
to acquire dependency information.
|
Copyright © 2018 OpenDaylight. All rights reserved.