Class DefValStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport<String,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStringStatementSupport<DefValStatement,DefValEffectiveStatement>
-
- org.opendaylight.yangtools.rfc6643.parser.DefValStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<String,DefValStatement,DefValEffectiveStatement>
,StatementSupport<String,DefValStatement,DefValEffectiveStatement>
@Beta public final class DefValStatementSupport extends BaseStringStatementSupport<DefValStatement,DefValEffectiveStatement>
-
-
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 DefValStatement
createDeclared(StmtContext<String,DefValStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
protected DefValEffectiveStatement
createEffective(StmtContext<String,DefValStatement,DefValEffectiveStatement> ctx, DefValStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
protected DefValStatement
createEmptyDeclared(StmtContext<String,DefValStatement,?> ctx)
protected DefValEffectiveStatement
createEmptyEffective(StmtContext<String,DefValStatement,DefValEffectiveStatement> ctx, DefValStatement declared)
static DefValStatementSupport
getInstance()
protected SubstatementValidator
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStringStatementSupport
parseArgumentValue
-
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 DefValStatementSupport getInstance()
-
getSubstatementValidator
protected SubstatementValidator getSubstatementValidator()
Description copied from class:AbstractStatementSupport
Returns corresponding substatement validator of a statement support.- Specified by:
getSubstatementValidator
in classAbstractStatementSupport<String,DefValStatement,DefValEffectiveStatement>
- Returns:
- substatement validator or null, if substatement validator is not defined
-
createDeclared
protected DefValStatement createDeclared(StmtContext<String,DefValStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
- Specified by:
createDeclared
in classBaseStatementSupport<String,DefValStatement,DefValEffectiveStatement>
-
createEmptyDeclared
protected DefValStatement createEmptyDeclared(StmtContext<String,DefValStatement,?> ctx)
- Specified by:
createEmptyDeclared
in classBaseStatementSupport<String,DefValStatement,DefValEffectiveStatement>
-
createEffective
protected DefValEffectiveStatement createEffective(StmtContext<String,DefValStatement,DefValEffectiveStatement> ctx, DefValStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
- Specified by:
createEffective
in classBaseStatementSupport<String,DefValStatement,DefValEffectiveStatement>
-
createEmptyEffective
protected DefValEffectiveStatement createEmptyEffective(StmtContext<String,DefValStatement,DefValEffectiveStatement> ctx, DefValStatement declared)
- Specified by:
createEmptyEffective
in classBaseStatementSupport<String,DefValStatement,DefValEffectiveStatement>
-
-