Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
-
Add subclass-specific attributes to the output
YinTextSchemaSource.toString()
output. - addToStringAttributes(MoreObjects.ToStringHelper) - Method in exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Add subclass-specific attributes to the output
YangTextSchemaSource.toString()
output. - addToStringAttributes(MoreObjects.ToStringHelper) - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
-
Add subclass-specific attributes to the output
YinDomSchemaSource.toString()
output. - ALWAYS_ACCEPT - Static variable in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceFilter
-
A
SchemaSourceFilter
which accepts any schema source it is presented with. - apply(SchemaSourceRepresentation) - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceFilter
-
Check if a particular schema source is acceptable to the filter.
B
- build() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration.Builder
-
Return a new
SchemaContextFactoryConfiguration
based on the contents of this builder. - builder() - Static method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- Builder() - Constructor for class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration.Builder
C
- create(SourceIdentifier, DOMSource, String) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
-
Create a new
YinDomSchemaSource
using an identifier and a source. - createEffectiveModelContext(Collection<SourceIdentifier>) - Method in interface org.opendaylight.yangtools.yang.model.repo.api.EffectiveModelContextFactory
-
Create a new schema context containing specified sources, pulling in any dependencies they may have.
- createEffectiveModelContext(SourceIdentifier...) - Method in interface org.opendaylight.yangtools.yang.model.repo.api.EffectiveModelContextFactory
- createEffectiveModelContextFactory() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository
- createEffectiveModelContextFactory(SchemaContextFactoryConfiguration) - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository
-
Returns
EffectiveModelContextFactory
with supplied configuration.
D
- DEFAULT_MODE - Enum constant in enum class org.opendaylight.yangtools.yang.model.repo.api.StatementParserMode
-
Default mode of statement parser.
- delegateForByteSource(String, ByteSource, Charset) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource with
SourceIdentifier
derived from a supplied filename and backed by ByteSource, which provides the actual InputStreams. - delegateForByteSource(SourceIdentifier, ByteSource) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
-
Create a new YinTextSchemaSource with a specific source identifier and backed by ByteSource, which provides the actual InputStreams.
- delegateForByteSource(SourceIdentifier, ByteSource, Charset) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource with a specific source identifier and backed by ByteSource, which provides the actual InputStreams.
- delegateForCharSource(String, CharSource) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource with
SourceIdentifier
derived from a supplied filename and backed by ByteSource, which provides the actual InputStreams. - delegateForCharSource(SourceIdentifier, CharSource) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource with a specific source identifier and backed by ByteSource, which provides the actual InputStreams.
E
- EffectiveModelContextFactory - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
An asynchronous factory for building
EffectiveModelContext
instances based on a specification of whatSourceIdentifier
s are required and dynamic recursive resolution. - equals(Object) - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- equals(Object) - Method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Indicates whether some other object is "equal to" this one.
F
- forPath(Path) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource backed by a
File
withSourceIdentifier
derived from the file name. - forPath(Path) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
- forPath(Path, SourceIdentifier) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource backed by a
File
and specifiedSourceIdentifier
. - forPath(Path, SourceIdentifier, Charset) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new YangTextSchemaSource backed by a
File
and specifiedSourceIdentifier
. - forResource(Class<?>, String) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new
YangTextSchemaSource
backed by a resource by a resource available on the ClassLoader which loaded the specified class. - forResource(Class<?>, String) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
- forResource(Class<?>, String, Charset) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new
YangTextSchemaSource
backed by a resource by a resource available on the ClassLoader which loaded the specified class. - forResource(String) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new
YangTextSchemaSource
backed by a resource available in the ClassLoader where this class resides. - forURL(URL, SourceIdentifier) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new
YangTextSchemaSource
backed by a URL. - forURL(URL, SourceIdentifier, Charset) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
-
Create a new
YangTextSchemaSource
backed by a URL.
G
- getDefault() - Static method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- getFailedSource() - Method in exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
-
Return YANG schema source identifier consisting of name and revision of the module which caused this exception.
- getIdentifier() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation
- getIdentifier() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
- getIdentifier() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
- getModulesDeviatedByModules() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- getResolvedSources() - Method in exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- getRootStatement() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangIRSchemaSource
-
Return the root statement of this source.
- getSchemaSource(SourceIdentifier, Class<T>) - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaRepository
- getSchemaSourceFilter() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- getSource() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
- getSource() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.YinXmlSchemaSource
-
Return an XML
Source
of the YIN document. - getSourceId() - Method in exception org.opendaylight.yangtools.yang.model.repo.api.MissingSchemaSourceException
- getStatementParserMode() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- getSupportedFeatures() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- getSymbolicName() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation
-
Return the symbolic name, if available.
- getSymbolicName() - Method in class org.opendaylight.yangtools.yang.model.repo.api.StringYangTextSchemaSource
- getSymbolicName() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangIRSchemaSource
- getType() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceRepresentation
-
Return the concrete representation type.
- getType() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangIRSchemaSource
- getType() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.YangSchemaSourceRepresentation
- getType() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
- getType() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
- getType() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.YinSchemaSourceRepresentation
- getType() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
- getType() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.YinXmlSchemaSource
- getUnsatisfiedImports() - Method in exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
-
Return the list of sources which failed to resolve along with reasons why they were not resolved.
H
- hashCode() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- hashCode() - Method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Returns a hash code value for this object.
I
- identifierFromFilename(String) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
- identifierFromFilename(String) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
L
- lazyTransform(YinXmlSchemaSource) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
-
Create a
YinDomSchemaSource
from aYinXmlSchemaSource
.
M
- MissingSchemaSourceException - Exception in org.opendaylight.yangtools.yang.model.repo.api
-
Exception thrown when a the specified schema source is not available.
- MissingSchemaSourceException(String, SourceIdentifier) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.MissingSchemaSourceException
- MissingSchemaSourceException(String, SourceIdentifier, Throwable) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.MissingSchemaSourceException
N
- name() - Method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Returns the value of the
name
record component.
O
- openStream() - Method in class org.opendaylight.yangtools.yang.model.repo.api.StringYangTextSchemaSource
- org.opendaylight.yangtools.yang.model.repo.api - package org.opendaylight.yangtools.yang.model.repo.api
- org.opendaylight.yangtools.yang.repo.api - module org.opendaylight.yangtools.yang.repo.api
R
- revision() - Method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Returns the value of the
revision
record component.
S
- SchemaContextFactoryConfiguration - Class in org.opendaylight.yangtools.yang.model.repo.api
-
SchemaContextFactory configuration class.
- SchemaContextFactoryConfiguration.Builder - Class in org.opendaylight.yangtools.yang.model.repo.api
- SchemaRepository - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
Interface exposed by repository implementations.
- SchemaResolutionException - Exception in org.opendaylight.yangtools.yang.model.repo.api
-
Exception thrown when a Schema Source fails to resolve.
- SchemaResolutionException(String) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- SchemaResolutionException(String, Collection<SourceIdentifier>, Multimap<SourceIdentifier, ModuleImport>) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- SchemaResolutionException(String, Throwable) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- SchemaResolutionException(String, SourceIdentifier, Throwable) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- SchemaResolutionException(String, SourceIdentifier, Throwable, Collection<SourceIdentifier>, Multimap<SourceIdentifier, ModuleImport>) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- SchemaSourceException - Exception in org.opendaylight.yangtools.yang.model.repo.api
-
Exception thrown when a failure to acquire a schema source occurs.
- SchemaSourceException(String) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceException
- SchemaSourceException(String, Throwable) - Constructor for exception org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceException
- SchemaSourceFilter - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
A filter of schema sources.
- SchemaSourceRepresentation - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
Common interface for schema source representations.
- setFilter(SchemaSourceFilter) - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration.Builder
-
Set schema source filter which will filter available schema sources using the provided filter.
- setModulesDeviatedByModules(SetMultimap<QNameModule, QNameModule>) - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration.Builder
-
Set YANG modules which can be deviated by specified modules during the parsing process.
- setStatementParserMode(StatementParserMode) - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration.Builder
-
Set YANG statement parser mode.
- setSupportedFeatures(FeatureSet) - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration.Builder
-
Set supported features based on which all if-feature statements in the parsed YANG modules will be resolved.
- SourceIdentifier - Record Class in org.opendaylight.yangtools.yang.model.repo.api
-
Base class of YANG Schema source identifiers.
- SourceIdentifier(String) - Constructor for record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Creates new YANG Schema source identifier for sources without a revision.
- SourceIdentifier(String, String) - Constructor for record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Creates new YANG Schema source identifier for sources with or without a revision.
- SourceIdentifier(String, Revision) - Constructor for record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Creates new YANG Schema source identifier for sources with or without a revision.
- SourceIdentifier(UnresolvedQName.Unqualified) - Constructor for record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Creates new YANG Schema source identifier for sources without a revision.
- SourceIdentifier(UnresolvedQName.Unqualified, Revision) - Constructor for record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Creates new YANG Schema source identifier for sources with or without a revision.
- StatementParserMode - Enum Class in org.opendaylight.yangtools.yang.model.repo.api
- StringYangTextSchemaSource - Class in org.opendaylight.yangtools.yang.model.repo.api
-
A
YangTextSchemaSource
with content readily available. - StringYangTextSchemaSource(SourceIdentifier, String) - Constructor for class org.opendaylight.yangtools.yang.model.repo.api.StringYangTextSchemaSource
- StringYangTextSchemaSource(SourceIdentifier, String, String) - Constructor for class org.opendaylight.yangtools.yang.model.repo.api.StringYangTextSchemaSource
- supportedRepresentations() - Method in interface org.opendaylight.yangtools.yang.model.repo.api.SchemaSourceFilter
-
Get the representations this filter supports.
T
- toString() - Method in class org.opendaylight.yangtools.yang.model.repo.api.SchemaContextFactoryConfiguration
- toString() - Method in exception org.opendaylight.yangtools.yang.model.repo.api.SchemaResolutionException
- toString() - Method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Returns a string representation of this record class.
- toString() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
- toString() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
- toString() - Method in class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
- toYangFilename() - Method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Returns filename for this YANG module as specified in RFC 6020.
- toYangFileName(String, Revision) - Static method in record class org.opendaylight.yangtools.yang.model.repo.api.SourceIdentifier
-
Returns filename for this YANG module as specified in RFC 6020.
- transform(YinXmlSchemaSource) - Static method in class org.opendaylight.yangtools.yang.model.repo.api.YinDomSchemaSource
-
Create a
YinDomSchemaSource
from aYinXmlSchemaSource
.
V
- valueOf(String) - Static method in enum class org.opendaylight.yangtools.yang.model.repo.api.StatementParserMode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.opendaylight.yangtools.yang.model.repo.api.StatementParserMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
Y
- YangIRSchemaSource - Class in org.opendaylight.yangtools.yang.model.repo.api
- YangIRSchemaSource(SourceIdentifier, IRStatement, String) - Constructor for class org.opendaylight.yangtools.yang.model.repo.api.YangIRSchemaSource
- YangSchemaSourceRepresentation - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
A YANG
SchemaSourceRepresentation
. - YangTextSchemaSource - Class in org.opendaylight.yangtools.yang.model.repo.api
-
YANG text schema source representation.
- YangTextSchemaSource(SourceIdentifier) - Constructor for class org.opendaylight.yangtools.yang.model.repo.api.YangTextSchemaSource
- YinDomSchemaSource - Class in org.opendaylight.yangtools.yang.model.repo.api
-
Utility
YinXmlSchemaSource
exposing a W3CDOMSource
representation of YIN model. - YinSchemaSourceRepresentation - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
A YIN
SchemaSourceRepresentation
. - YinTextSchemaSource - Class in org.opendaylight.yangtools.yang.model.repo.api
-
YIN text schema source representation.
- YinTextSchemaSource(SourceIdentifier) - Constructor for class org.opendaylight.yangtools.yang.model.repo.api.YinTextSchemaSource
- YinXmlSchemaSource - Interface in org.opendaylight.yangtools.yang.model.repo.api
-
YIN text schema source representation.
All Classes and Interfaces|All Packages|Serialized Form