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(@NonNull String str)
Parse a YANG version from its textual representation.
|
Modifier and Type | Method and Description |
---|---|
YangVersion |
Module.getYangVersion()
Returns the YANG version.
|
Modifier and Type | Method and Description |
---|---|
default @NonNull YangVersion |
YangVersionStatement.getValue() |
Modifier and Type | Method and Description |
---|---|
ModuleBuilder |
ModuleBuilder.yangVersion(YangVersion yangVersion)
Initializes the value for the
yangVersion attribute. |
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.
|
Modifier and Type | Method and Description |
---|---|
CustomCrossSourceStatementReactorBuilder |
CustomCrossSourceStatementReactorBuilder.addAllVersionSpecificSupports(ModelProcessingPhase phase,
com.google.common.collect.Table<YangVersion,QName,StatementSupport<?,?,?>> versionSpecificSupports) |
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 |
AbstractEffectiveModule.getYangVersion() |
Modifier and Type | Method and Description |
---|---|
static boolean |
EffectiveStmtUtils.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 |
EffectiveStmtUtils.hasDefaultValueMarkedWithIfFeature(YangVersion yangVersion,
TypeEffectiveStatement<?> typeStmt,
String defaultValue)
Checks whether supplied type has specified default value marked with an
if-feature.
|
Modifier and Type | Method and Description |
---|---|
YangVersion |
YangVersionStatementSupport.parseArgumentValue(StmtContext<?,?,?> ctx,
String value) |
Modifier and Type | Method and Description |
---|---|
EffectiveStatement<YangVersion,YangVersionStatement> |
YangVersionStatementSupport.createEffective(StmtContext<YangVersion,YangVersionStatement,EffectiveStatement<YangVersion,YangVersionStatement>> ctx) |
Modifier and Type | Method and Description |
---|---|
@NonNull 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) |
Copyright © 2019 OpenDaylight. All rights reserved.