public static class AugmentStatementImpl.Definition extends AbstractStatementSupport<SchemaNodeIdentifier,AugmentStatement,EffectiveStatement<SchemaNodeIdentifier,AugmentStatement>>
Constructor and Description |
---|
Definition() |
beforeSubStatementCreated, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, isArgumentYinElement, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnknownStatementDefinitionOf, internArgument, isIgnoringConfig, isIgnoringIfFeatures
public SchemaNodeIdentifier parseArgumentValue(StmtContext<?,?,?> ctx, String value)
StatementSupport
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.public AugmentStatement createDeclared(StmtContext<SchemaNodeIdentifier,AugmentStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<SchemaNodeIdentifier,AugmentStatement> createEffective(StmtContext<SchemaNodeIdentifier,AugmentStatement,EffectiveStatement<SchemaNodeIdentifier,AugmentStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic void onFullDefinitionDeclared(StmtContext.Mutable<SchemaNodeIdentifier,AugmentStatement,EffectiveStatement<SchemaNodeIdentifier,AugmentStatement>> augmentNode)
AbstractStatementSupport
ModelProcessingPhase.FULL_DECLARATION
phase.
Invoked when statement is closed during
ModelProcessingPhase.FULL_DECLARATION
phase, only substatements
from this phase are available.
Implementation may use method to perform actions on this event or
register modification action using
StmtContext.Mutable.newInferenceAction(ModelProcessingPhase)
.
Subclasses of this class may override this method to perform actions on
this event or register modification action using
StmtContext.Mutable.newInferenceAction(ModelProcessingPhase)
.onFullDefinitionDeclared
in interface StatementSupport<SchemaNodeIdentifier,AugmentStatement,EffectiveStatement<SchemaNodeIdentifier,AugmentStatement>>
onFullDefinitionDeclared
in class AbstractStatementSupport<SchemaNodeIdentifier,AugmentStatement,EffectiveStatement<SchemaNodeIdentifier,AugmentStatement>>
augmentNode
- Context of added statement. Argument and statement parent is
accessible.public static void copyFromSourceToTarget(StatementContextBase<?,?,?> sourceCtx, StatementContextBase<?,?,?> targetCtx)
public static boolean needToCopyByAugment(StmtContext<?,?,?> stmtContext)
public static boolean isReusedByAugment(StmtContext<?,?,?> stmtContext)
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<SchemaNodeIdentifier,AugmentStatement,EffectiveStatement<SchemaNodeIdentifier,AugmentStatement>>
Copyright © 2018 OpenDaylight. All rights reserved.