Class AugmentIdentifierStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
-
- org.opendaylight.yangtools.odlext.parser.AugmentIdentifierStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
@Beta public final class AugmentIdentifierStatementSupport extends AbstractStatementSupport<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
-
-
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 AugmentIdentifierStatementSupport(YangParserConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AugmentIdentifierStatement
attachDeclarationReference(AugmentIdentifierStatement stmt, DeclarationReference reference)
Attach specifiedDeclarationReference
to a baseline declared statement.protected AugmentIdentifierStatement
createDeclared(StmtContext<UnqualifiedQName,AugmentIdentifierStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
protected AugmentIdentifierEffectiveStatement
createEffective(EffectiveStmtCtx.Current<UnqualifiedQName,AugmentIdentifierStatement> stmt, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
UnqualifiedQName
parseArgumentValue(StmtContext<?,?,?> ctx, String value)
Parses textual representation of argument in object representation.-
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
-
AugmentIdentifierStatementSupport
public AugmentIdentifierStatementSupport(YangParserConfiguration config)
-
-
Method Detail
-
parseArgumentValue
public UnqualifiedQName parseArgumentValue(StmtContext<?,?,?> ctx, String value)
Description copied from class:StatementSupport
Parses textual representation of argument in object representation.- Specified by:
parseArgumentValue
in classStatementSupport<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
- 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
-
createDeclared
protected AugmentIdentifierStatement createDeclared(StmtContext<UnqualifiedQName,AugmentIdentifierStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
- Specified by:
createDeclared
in classAbstractStatementSupport<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
-
attachDeclarationReference
protected AugmentIdentifierStatement attachDeclarationReference(AugmentIdentifierStatement 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<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
- Parameters:
stmt
- Declared statementreference
-DeclarationReference
to attach- Returns:
- Equivalent of stmt, potentially with specified reference attached.
-
createEffective
protected AugmentIdentifierEffectiveStatement createEffective(EffectiveStmtCtx.Current<UnqualifiedQName,AugmentIdentifierStatement> stmt, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
- Specified by:
createEffective
in classAbstractStatementSupport<UnqualifiedQName,AugmentIdentifierStatement,AugmentIdentifierEffectiveStatement>
-
-