@Beta public final class ChoiceStatementRFC7950Support extends AbstractQNameStatementSupport<ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>>
| Modifier and Type | Method and Description |
|---|---|
ChoiceStatement |
createDeclared(StmtContext<QName,ChoiceStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<QName,ChoiceStatement> |
createEffective(StmtContext<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>> ctx)
Create a
EffectiveStatement for specified context. |
Optional<StatementSupport<?,?,?>> |
getImplicitParentFor(StatementDefinition stmtDef)
Returns implicit parent statement support for supplied statement definition, if it is defined.
|
static ChoiceStatementRFC7950Support |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onStatementAdded(StmtContext.Mutable<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>> stmt)
Invoked when a statement supported by this instance is added to build context.
|
QName |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
adaptArgumentValuegetPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclaredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeaturespublic static ChoiceStatementRFC7950Support getInstance()
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupportgetSubstatementValidator in class AbstractStatementSupport<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>>public final QName parseArgumentValue(StmtContext<?,?,?> ctx, String value)
StatementSupportctx - 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 Optional<StatementSupport<?,?,?>> getImplicitParentFor(StatementDefinition stmtDef)
ImplicitParentAwareStatementSupportstmtDef - statement definition of substatementpublic final void onStatementAdded(StmtContext.Mutable<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>> stmt)
StatementSupportStmtContext.getParentContext(). One such use is populating the parent's namespaces to
allow it to locate this child statement.onStatementAdded in interface StatementSupport<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>>onStatementAdded in class AbstractStatementSupport<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>>stmt - Context of added statement. No substatements are available.public final ChoiceStatement createDeclared(StmtContext<QName,ChoiceStatement,?> ctx)
StatementFactoryDeclaredStatement for specified context.ctx - Statement contextpublic final EffectiveStatement<QName,ChoiceStatement> createEffective(StmtContext<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>> ctx)
StatementFactoryEffectiveStatement for specified context.ctx - Statement contextCopyright © 2019 OpenDaylight. All rights reserved.