public static class SubmoduleStatementImpl.Definition extends AbstractStatementSupport<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>>
Constructor and Description |
---|
Definition() |
beforeSubStatementCreated, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, isArgumentYinElement, onFullDefinitionDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnknownStatementDefinitionOf, internArgument, isIgnoringConfig, isIgnoringIfFeatures
public String 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 SubmoduleStatement createDeclared(StmtContext<String,SubmoduleStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<String,SubmoduleStatement> createEffective(StmtContext<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic void onPreLinkageDeclared(StmtContext.Mutable<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>> stmt)
AbstractStatementSupport
ModelProcessingPhase.SOURCE_PRE_LINKAGE
phase, only substatements
from this and previous 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)
.onPreLinkageDeclared
in interface StatementSupport<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>>
onPreLinkageDeclared
in class AbstractStatementSupport<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>>
stmt
- Context of added statement.public void onLinkageDeclared(StmtContext.Mutable<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>> stmt)
AbstractStatementSupport
ModelProcessingPhase.SOURCE_LINKAGE
phase, only substatements
from this and previous 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)
.onLinkageDeclared
in interface StatementSupport<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>>
onLinkageDeclared
in class AbstractStatementSupport<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>>
stmt
- Context of added statement.protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<String,SubmoduleStatement,EffectiveStatement<String,SubmoduleStatement>>
Copyright © 2018 OpenDaylight. All rights reserved.