Class DefaultDenyAllStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<Empty,D,E>
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractEmptyStatementSupport<DefaultDenyAllStatement,DefaultDenyAllEffectiveStatement>
-
- org.opendaylight.yangtools.rfc6536.parser.DefaultDenyAllStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<Empty,DefaultDenyAllStatement,DefaultDenyAllEffectiveStatement>
public final class DefaultDenyAllStatementSupport extends AbstractEmptyStatementSupport<DefaultDenyAllStatement,DefaultDenyAllEffectiveStatement>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
StatementSupport.CopyPolicy, StatementSupport.StatementEquality<A,D extends DeclaredStatement<A>>, StatementSupport.StatementPolicy<A,D extends DeclaredStatement<A>>
-
-
Constructor Summary
Constructors Constructor Description DefaultDenyAllStatementSupport(YangParserConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DefaultDenyAllStatement
attachDeclarationReference(DefaultDenyAllStatement stmt, DeclarationReference reference)
Attach specifiedDeclarationReference
to a baseline declared statement.protected DefaultDenyAllStatement
createDeclared(StmtContext<Empty,DefaultDenyAllStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
protected DefaultDenyAllEffectiveStatement
createEffective(EffectiveStmtCtx.Current<Empty,DefaultDenyAllStatement> stmt, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractEmptyStatementSupport
parseArgumentValue
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport
buildEffectiveSubstatements, copyEffective, createDeclared, createEffective, findFirstArgument, findFirstStatement, statementsToBuild, substatementValidator
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
adaptArgumentValue, canReuseCurrent, copyPolicy, getArgumentDefinition, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, internArgument, isIgnoringConfig, isIgnoringIfFeatures, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
-
-
-
-
Constructor Detail
-
DefaultDenyAllStatementSupport
public DefaultDenyAllStatementSupport(YangParserConfiguration config)
-
-
Method Detail
-
createDeclared
protected DefaultDenyAllStatement createDeclared(StmtContext<Empty,DefaultDenyAllStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
- Specified by:
createDeclared
in classAbstractStatementSupport<Empty,DefaultDenyAllStatement,DefaultDenyAllEffectiveStatement>
-
attachDeclarationReference
protected DefaultDenyAllStatement attachDeclarationReference(DefaultDenyAllStatement stmt, DeclarationReference reference)
Description copied from class:AbstractStatementSupport
Attach specifiedDeclarationReference
to a baseline declared statement. If an implementation does not support attaching DeclarationReferences, it should return the statement unchanged.- Specified by:
attachDeclarationReference
in classAbstractStatementSupport<Empty,DefaultDenyAllStatement,DefaultDenyAllEffectiveStatement>
- Parameters:
stmt
- Declared statementreference
-DeclarationReference
to attach- Returns:
- Equivalent of stmt, potentially with specified reference attached.
-
createEffective
protected DefaultDenyAllEffectiveStatement createEffective(EffectiveStmtCtx.Current<Empty,DefaultDenyAllStatement> stmt, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
- Specified by:
createEffective
in classAbstractStatementSupport<Empty,DefaultDenyAllStatement,DefaultDenyAllEffectiveStatement>
-
-