Package | Description |
---|---|
org.opendaylight.yangtools.yang.common | |
org.opendaylight.yangtools.yang.model.api.stmt | |
org.opendaylight.yangtools.yang.parser.impl | |
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.spi.source |
Provides API necessary for the processing of statement sources.
|
org.opendaylight.yangtools.yang.parser.stmt.reactor |
Contains the implementation of the parser reactor
CrossSourceStatementReactor . |
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.stmt.rfc6020.effective |
Contains implementation of Rfc6020 effective statements.
|
Modifier and Type | Method and Description |
---|---|
static YangVersion |
YangVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YangVersion[] |
YangVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Optional<YangVersion> |
YangVersion.parse(String str)
Parse a YANG version from its textual representation.
|
Modifier and Type | Method and Description |
---|---|
YangVersion |
YangVersionStatement.getValue() |
Modifier and Type | Method and Description |
---|---|
void |
YangStatementParserListenerImpl.setAttributes(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion) |
Modifier and Type | Method and Description |
---|---|
void |
YangStatementStreamSource.writeFull(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion) |
void |
YangStatementStreamSource.writeLinkage(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule preLinkagePrefixes,
YangVersion yangVersion) |
void |
YangStatementStreamSource.writeLinkageAndStatementDefinitions(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion) |
Modifier and Type | Method and Description |
---|---|
YangVersion |
StmtContext.getRootVersion()
Return version of root statement context.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableTable<YangVersion,QName,StatementSupport<?,?,?>> |
StatementSupportBundle.getAllVersionSpecificDefinitions()
Returns all version specific statement definitions.
|
Set<YangVersion> |
StatementSupportBundle.getSupportedVersions() |
Set<YangVersion> |
StatementSupportBundle.Builder.getSupportedVersions() |
Modifier and Type | Method and Description |
---|---|
StatementSupportBundle.Builder |
StatementSupportBundle.Builder.addVersionSpecificSupport(YangVersion version,
StatementSupport<?,?,?> definition) |
com.google.common.collect.ImmutableMap<QName,StatementSupport<?,?,?>> |
StatementSupportBundle.getDefinitionsSpecificForVersion(YangVersion version)
Returns statement definitions specific for requested version.
|
StatementSupport<?,?,?> |
StatementSupportBundle.getStatementDefinition(YangVersion version,
QName stmtName) |
void |
StmtContext.Mutable.setRootVersion(YangVersion version)
Set version of root statement context.
|
Modifier and Type | Method and Description |
---|---|
static StatementSupportBundle.Builder |
StatementSupportBundle.builder(Set<YangVersion> supportedVersions) |
Modifier and Type | Method and Description |
---|---|
default void |
StatementStreamSource.writeFull(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion)
Emits every statements present in this statement source to supplied
writer based on specified yang version. |
default void |
StatementStreamSource.writeLinkage(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule preLinkagePrefixes,
YangVersion yangVersion)
Emits only linkage-related statements to supplied
writer based on
specified yang version. |
default void |
StatementStreamSource.writeLinkageAndStatementDefinitions(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion)
Emits only linkage and language extension statements to supplied
writer based on specified yang version. |
Modifier and Type | Field and Description |
---|---|
static YangVersion |
RootStatementContext.DEFAULT_VERSION |
Modifier and Type | Method and Description |
---|---|
YangVersion |
RootStatementContext.getRootVersion() |
Modifier and Type | Method and Description |
---|---|
Set<YangVersion> |
SourceSpecificContext.getSupportedVersions() |
Modifier and Type | Method and Description |
---|---|
void |
RootStatementContext.setRootVersion(YangVersion version) |
Modifier and Type | Method and Description |
---|---|
CustomStatementParserBuilder |
CustomStatementParserBuilder.addAllVersionSpecificSupports(ModelProcessingPhase phase,
com.google.common.collect.Table<YangVersion,QName,StatementSupport<?,?,?>> versionSpecificSupports) |
Constructor and Description |
---|
CustomStatementParserBuilder(Set<YangVersion> supportedVersions)
Creates a new CustomStatementParserBuilder object initialized by specific
version bundle.
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.Table<YangVersion,StatementDefinition,Set<StatementDefinition>> |
YangValidationBundles.SUPPORTED_DEVIATION_TARGETS
Supported deviation target statements for specific deviate substatements in specific yang-version.
|
static Set<YangVersion> |
YangInferencePipeline.SUPPORTED_VERSIONS |
Modifier and Type | Method and Description |
---|---|
YangVersion |
YangVersionStatementImpl.getValue() |
YangVersion |
YangVersionStatementImpl.Definition.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<YangVersion,YangVersionStatement> |
YangVersionStatementImpl.Definition.createEffective(StmtContext<YangVersion,YangVersionStatement,EffectiveStatement<YangVersion,YangVersionStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TypeUtils.hasDefaultValueMarkedWithIfFeature(YangVersion yangVersion,
TypeEffectiveStatement<?> typeStmt,
Set<String> defaultValues)
Checks whether supplied type has any of specified default values marked
with an if-feature.
|
static boolean |
TypeUtils.hasDefaultValueMarkedWithIfFeature(YangVersion yangVersion,
TypeEffectiveStatement<?> typeStmt,
String defaultValue)
Checks whether supplied type has specified default value marked with an
if-feature.
|
static String |
Utils.stringFromStringContext(YangStatementParser.ArgumentContext context,
YangVersion yangVersion,
StatementSourceReference ref) |
void |
YangStatementSourceImpl.writeFull(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion)
Deprecated.
|
void |
YangStatementSourceImpl.writeLinkage(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule preLinkagePrefixes,
YangVersion yangVersion)
Deprecated.
|
void |
YangStatementSourceImpl.writeLinkageAndStatementDefinitions(StatementWriter writer,
QNameToStatementDefinition stmtDef,
PrefixToModule prefixes,
YangVersion yangVersion)
Deprecated.
|
Constructor and Description |
---|
YangVersionStatementImpl(StmtContext<YangVersion,YangVersionStatement,?> context) |
Constructor and Description |
---|
YangVersionEffectiveStatementImpl(StmtContext<YangVersion,YangVersionStatement,?> ctx) |
Copyright © 2018 OpenDaylight. All rights reserved.