Class SubIdStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
-
- org.opendaylight.yangtools.rfc6643.parser.SubIdStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<Uint32,SubIdStatement,SubIdEffectiveStatement>
,StatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
@Beta public final class SubIdStatementSupport extends BaseStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
StatementSupport.CopyPolicy
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SubIdStatement
createDeclared(StmtContext<Uint32,SubIdStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
protected SubIdEffectiveStatement
createEffective(StmtContext<Uint32,SubIdStatement,SubIdEffectiveStatement> ctx, SubIdStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
protected SubIdStatement
createEmptyDeclared(StmtContext<Uint32,SubIdStatement,?> ctx)
protected SubIdEffectiveStatement
createEmptyEffective(StmtContext<Uint32,SubIdStatement,SubIdEffectiveStatement> ctx, SubIdStatement declared)
static SubIdStatementSupport
getInstance()
protected SubstatementValidator
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.Uint32
parseArgumentValue(StmtContext<?,?,?> ctx, String value)
Parses textual representation of argument in object representation.-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport
buildEffectiveSubstatements, createDeclared, createEffective, findFirstArgument, findFirstStatement, statementsToBuild
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport
applyCopyPolicy, getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
adaptArgumentValue, getArgumentDefinition, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isIgnoringConfig, isIgnoringIfFeatures
-
-
-
-
Method Detail
-
getInstance
public static SubIdStatementSupport getInstance()
-
parseArgumentValue
public Uint32 parseArgumentValue(StmtContext<?,?,?> ctx, String value)
Description copied from interface:StatementSupport
Parses textual representation of argument in object representation.- Parameters:
ctx
- Context, which may be used to access source-specific namespaces required for parsing.value
- String representation of value, as was present in text source.- Returns:
- Parsed value
-
getSubstatementValidator
protected SubstatementValidator getSubstatementValidator()
Description copied from class:AbstractStatementSupport
Returns corresponding substatement validator of a statement support.- Specified by:
getSubstatementValidator
in classAbstractStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
- Returns:
- substatement validator or null, if substatement validator is not defined
-
createDeclared
protected SubIdStatement createDeclared(StmtContext<Uint32,SubIdStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
- Specified by:
createDeclared
in classBaseStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
-
createEmptyDeclared
protected SubIdStatement createEmptyDeclared(StmtContext<Uint32,SubIdStatement,?> ctx)
- Specified by:
createEmptyDeclared
in classBaseStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
-
createEffective
protected SubIdEffectiveStatement createEffective(StmtContext<Uint32,SubIdStatement,SubIdEffectiveStatement> ctx, SubIdStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
- Specified by:
createEffective
in classBaseStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
-
createEmptyEffective
protected SubIdEffectiveStatement createEmptyEffective(StmtContext<Uint32,SubIdStatement,SubIdEffectiveStatement> ctx, SubIdStatement declared)
- Specified by:
createEmptyEffective
in classBaseStatementSupport<Uint32,SubIdStatement,SubIdEffectiveStatement>
-
-