Class InstanceTargetStatementSupport
java.lang.Object
org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport<A,D,E>
org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<String,D,E>
org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStringStatementSupport<InstanceTargetStatement,InstanceTargetEffectiveStatement>
org.opendaylight.yangtools.odlext.parser.InstanceTargetStatementSupport
- All Implemented Interfaces:
StatementFactory<String,
InstanceTargetStatement, InstanceTargetEffectiveStatement>
@Beta
public final class InstanceTargetStatementSupport
extends AbstractStringStatementSupport<InstanceTargetStatement,InstanceTargetEffectiveStatement>
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected InstanceTargetStatement
attachDeclarationReference
(InstanceTargetStatement stmt, DeclarationReference reference) Attach specifiedDeclarationReference
to a baseline declared statement.protected InstanceTargetStatement
createDeclared
(BoundStmtCtx<String> ctx, ImmutableList<DeclaredStatement<?>> substatements) protected InstanceTargetEffectiveStatement
createEffective
(EffectiveStmtCtx.Current<String, InstanceTargetStatement> stmt, ImmutableList<? extends EffectiveStatement<?, ?>> substatements) Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStringStatementSupport
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, onStatementAdded, onStatementDefinitionDeclared, statementName
-
Constructor Details
-
InstanceTargetStatementSupport
-
-
Method Details
-
createDeclared
protected InstanceTargetStatement createDeclared(BoundStmtCtx<String> ctx, ImmutableList<DeclaredStatement<?>> substatements) - Specified by:
createDeclared
in classAbstractStatementSupport<String,
InstanceTargetStatement, InstanceTargetEffectiveStatement>
-
attachDeclarationReference
protected InstanceTargetStatement attachDeclarationReference(InstanceTargetStatement 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<String,
InstanceTargetStatement, InstanceTargetEffectiveStatement> - Parameters:
stmt
- Declared statementreference
-DeclarationReference
to attach- Returns:
- Equivalent of stmt, potentially with specified reference attached.
-
createEffective
protected InstanceTargetEffectiveStatement createEffective(EffectiveStmtCtx.Current<String, InstanceTargetStatement> stmt, ImmutableList<? extends EffectiveStatement<?, ?>> substatements) - Specified by:
createEffective
in classAbstractStatementSupport<String,
InstanceTargetStatement, InstanceTargetEffectiveStatement>
-