Class SubscriptionStateNotificationStatementSupport
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<SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
org.opendaylight.yangtools.rfc8639.parser.SubscriptionStateNotificationStatementSupport
- All Implemented Interfaces:
StatementFactory<Empty,
SubscriptionStateNotificationStatement, SubscriptionStateNotificationEffectiveStatement>
public final class SubscriptionStateNotificationStatementSupport
extends AbstractEmptyStatementSupport<SubscriptionStateNotificationStatement,SubscriptionStateNotificationEffectiveStatement>
-
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>> -
Field Summary
Fields inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
NAMESPACE
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionprotected SubscriptionStateNotificationStatement
attachDeclarationReference
(SubscriptionStateNotificationStatement stmt, DeclarationReference reference) Attach specifiedDeclarationReference
to a baseline declared statement.protected SubscriptionStateNotificationStatement
createDeclared
(BoundStmtCtx<Empty> ctx, ImmutableList<DeclaredStatement<?>> substatements) createEffective
(EffectiveStmtCtx.Current<Empty, SubscriptionStateNotificationStatement> stmt, ImmutableList<? extends EffectiveStatement<?, ?>> substatements) void
onStatementAdded
(StmtContext.Mutable<Empty, SubscriptionStateNotificationStatement, SubscriptionStateNotificationEffectiveStatement> stmt) Invoked when a statement supported by this instance is added to build context.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, argumentName, canReuseCurrent, copyPolicy, definition, extractEffectiveState, getArgumentDefinition, getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, internArgument, isIgnoringConfig, isIgnoringIfFeatures, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclared, statementName
-
Constructor Details
-
SubscriptionStateNotificationStatementSupport
-
-
Method Details
-
onStatementAdded
public void onStatementAdded(StmtContext.Mutable<Empty, SubscriptionStateNotificationStatement, SubscriptionStateNotificationEffectiveStatement> stmt) Description copied from class:StatementSupport
Invoked when a statement supported by this instance is added to build context. This allows implementations of this interface to start tracking the statement and perform any modifications to the build context hierarchy, accessible viaStmtContext.getParentContext()
. One such use is populating the parent's namespaces to allow it to locate this child statement.- Overrides:
onStatementAdded
in classStatementSupport<Empty,
SubscriptionStateNotificationStatement, SubscriptionStateNotificationEffectiveStatement> - Parameters:
stmt
- Context of added statement. No substatements are available.
-
createDeclared
protected SubscriptionStateNotificationStatement createDeclared(BoundStmtCtx<Empty> ctx, ImmutableList<DeclaredStatement<?>> substatements) -
attachDeclarationReference
protected SubscriptionStateNotificationStatement attachDeclarationReference(SubscriptionStateNotificationStatement 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,
SubscriptionStateNotificationStatement, SubscriptionStateNotificationEffectiveStatement> - Parameters:
stmt
- Declared statementreference
-DeclarationReference
to attach- Returns:
- Equivalent of stmt, potentially with specified reference attached.
-
createEffective
protected SubscriptionStateNotificationEffectiveStatement createEffective(EffectiveStmtCtx.Current<Empty, SubscriptionStateNotificationStatement> stmt, ImmutableList<? extends EffectiveStatement<?, ?>> substatements)
-