@Beta public final class GroupingStatementRFC7950Support extends AbstractQNameStatementSupport<GroupingStatement,EffectiveStatement<QName,GroupingStatement>>
Modifier and Type | Method and Description |
---|---|
GroupingStatement |
createDeclared(StmtContext<QName,GroupingStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<QName,GroupingStatement> |
createEffective(StmtContext<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>> ctx)
Create a
EffectiveStatement for specified context. |
static GroupingStatementRFC7950Support |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onFullDefinitionDeclared(StmtContext.Mutable<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>> stmt)
Invoked when statement is closed during
ModelProcessingPhase.FULL_DECLARATION phase,
only substatements from this phase are available. |
QName |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
adaptArgumentValue
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeatures
public static GroupingStatementRFC7950Support getInstance()
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>>
public final QName 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 GroupingStatement createDeclared(StmtContext<QName,GroupingStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic final EffectiveStatement<QName,GroupingStatement> createEffective(StmtContext<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic final void onFullDefinitionDeclared(StmtContext.Mutable<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>> stmt)
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<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>>
onFullDefinitionDeclared
in class AbstractStatementSupport<QName,GroupingStatement,EffectiveStatement<QName,GroupingStatement>>
stmt
- Context of added statement. Argument and statement parent is
accessible.Copyright © 2019 OpenDaylight. All rights reserved.