@Beta public final class OutputStatementRFC7950Support extends AbstractQNameStatementSupport<OutputStatement,EffectiveStatement<QName,OutputStatement>>
Modifier and Type | Method and Description |
---|---|
OutputStatement |
createDeclared(StmtContext<QName,OutputStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<QName,OutputStatement> |
createEffective(StmtContext<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>> ctx)
Create a
EffectiveStatement for specified context. |
static OutputStatementRFC7950Support |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onStatementAdded(StmtContext.Mutable<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>> 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.
|
adaptArgumentValue
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeatures
public static OutputStatementRFC7950Support getInstance()
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>>
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 void onStatementAdded(StmtContext.Mutable<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>> stmt)
StatementSupport
StmtContext.getParentContext()
. One such use is populating the parent's namespaces to
allow it to locate this child statement.onStatementAdded
in interface StatementSupport<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>>
onStatementAdded
in class AbstractStatementSupport<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>>
stmt
- Context of added statement. No substatements are available.public final OutputStatement createDeclared(StmtContext<QName,OutputStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic final EffectiveStatement<QName,OutputStatement> createEffective(StmtContext<QName,OutputStatement,EffectiveStatement<QName,OutputStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextCopyright © 2019 OpenDaylight. All rights reserved.