Modifier and Type | Method and Description |
---|---|
Collection<Class<? extends SchemaSourceRepresentation>> |
YangParser.supportedSourceRepresentations()
Return enumeration of concrete types of
SchemaSourceRepresentation parsers created from this factory
support. |
Modifier and Type | Method and Description |
---|---|
YangParser |
YangParser.addLibSource(SchemaSourceRepresentation source) |
default YangParser |
YangParser.addLibSources(SchemaSourceRepresentation... sources)
Add library sources.
|
YangParser |
YangParser.addSource(SchemaSourceRepresentation source)
Add main source.
|
default YangParser |
YangParser.addSources(SchemaSourceRepresentation... sources)
Add main sources.
|
Modifier and Type | Method and Description |
---|---|
default YangParser |
YangParser.addLibSources(Collection<SchemaSourceRepresentation> sources) |
default YangParser |
YangParser.addSources(Collection<? extends SchemaSourceRepresentation> sources) |
Modifier and Type | Interface and Description |
---|---|
interface |
YangSchemaSourceRepresentation
A YANG
SchemaSourceRepresentation . |
interface |
YinSchemaSourceRepresentation
A YIN
SchemaSourceRepresentation . |
interface |
YinXmlSchemaSource
YIN text schema source representation.
|
Modifier and Type | Class and Description |
---|---|
class |
YangTextSchemaSource
YANG text schema source representation.
|
class |
YinDomSchemaSource
Utility
YinXmlSchemaSource exposing a W3C DOMSource representation of YIN model. |
class |
YinTextSchemaSource
YIN text schema source representation.
|
Modifier and Type | Method and Description |
---|---|
<T extends SchemaSourceRepresentation> |
SchemaRepository.getSchemaSource(@NonNull SourceIdentifier id,
@NonNull Class<T> represetation) |
Modifier and Type | Method and Description |
---|---|
Iterable<Class<? extends SchemaSourceRepresentation>> |
SchemaSourceFilter.supportedRepresentations()
Get the representations this filter supports.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<Boolean> |
SchemaSourceFilter.apply(SchemaSourceRepresentation schemaSource)
Check if a particular schema source is acceptable to the filter.
|
Modifier and Type | Class and Description |
---|---|
class |
PotentialSchemaSource<T extends SchemaSourceRepresentation>
A potential schema source.
|
interface |
SchemaSourceProvider<T extends SchemaSourceRepresentation>
Schema source provider implementations take care of resolving a
SourceIdentifier
into a particular representation of the schema source. |
interface |
SchemaSourceRegistration<T extends SchemaSourceRepresentation>
Registration of a schema source.
|
Modifier and Type | Method and Description |
---|---|
static <T extends SchemaSourceRepresentation> |
PotentialSchemaSource.create(SourceIdentifier sourceIdentifier,
Class<? extends T> representation,
int cost) |
<T extends SchemaSourceRepresentation> |
SchemaSourceRegistry.registerSchemaSource(SchemaSourceProvider<? super T> provider,
PotentialSchemaSource<T> source)
Register a new schema source which is potentially available from a provider.
|
Modifier and Type | Method and Description |
---|---|
void |
SchemaSourceListener.schemaSourceEncountered(SchemaSourceRepresentation source)
Invoked when the registry sees a concrete source.
|
Modifier and Type | Method and Description |
---|---|
static <R extends SchemaSourceRepresentation> |
InMemorySchemaSourceCache.createSoftCache(SchemaSourceRegistry consumer,
Class<R> representation) |
static <R extends SchemaSourceRepresentation> |
InMemorySchemaSourceCache.createSoftCache(SchemaSourceRegistry consumer,
Class<R> representation,
long lifetime,
TimeUnit units) |
<T extends SchemaSourceRepresentation> |
AbstractSchemaRepository.getSchemaSource(SourceIdentifier id,
Class<T> representation) |
<T extends SchemaSourceRepresentation> |
AbstractSchemaRepository.registerSchemaSource(SchemaSourceProvider<? super T> provider,
PotentialSchemaSource<T> source) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaSourceTransformer.schemaSourceEncountered(SchemaSourceRepresentation source) |
void |
AbstractSchemaSourceCache.schemaSourceEncountered(SchemaSourceRepresentation source) |
Modifier and Type | Class and Description |
---|---|
class |
ASTSchemaSource
Abstract Syntax Tree representation of a schema source.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends SchemaSourceRepresentation> |
ASTSchemaSource.getType() |
Modifier and Type | Method and Description |
---|---|
static SchemaContext |
YangParserTestUtils.parseSources(StatementParserMode parserMode,
Set<QName> supportedFeatures,
Collection<? extends SchemaSourceRepresentation> sources) |
Copyright © 2019 OpenDaylight. All rights reserved.