public final class DeviateStatementRFC6020Support extends AbstractStatementSupport<DeviateKind,DeviateStatement,EffectiveStatement<DeviateKind,DeviateStatement>>
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptArgumentValue, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeatures
public static DeviateStatementRFC6020Support getInstance()
public final DeviateKind 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 final DeviateStatement createDeclared(StmtContext<DeviateKind,DeviateStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic final EffectiveStatement<DeviateKind,DeviateStatement> createEffective(StmtContext<DeviateKind,DeviateStatement,EffectiveStatement<DeviateKind,DeviateStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic final void onFullDefinitionDeclared(StmtContext.Mutable<DeviateKind,DeviateStatement,EffectiveStatement<DeviateKind,DeviateStatement>> deviateStmtCtx)
AbstractStatementSupport
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 a modification
action using StmtContext.Mutable.newInferenceAction(ModelProcessingPhase)
.
onFullDefinitionDeclared
in interface StatementSupport<DeviateKind,DeviateStatement,EffectiveStatement<DeviateKind,DeviateStatement>>
onFullDefinitionDeclared
in class AbstractStatementSupport<DeviateKind,DeviateStatement,EffectiveStatement<DeviateKind,DeviateStatement>>
deviateStmtCtx
- Context of added statement. Argument and statement parent is
accessible.public String internArgument(String rawArgument)
StatementSupport
rawArgument
- Argument stringprotected final SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<DeviateKind,DeviateStatement,EffectiveStatement<DeviateKind,DeviateStatement>>
protected SubstatementValidator getSubstatementValidatorForDeviate(DeviateKind deviateKind)
Copyright © 2019 OpenDaylight. All rights reserved.