public final class IdentityStatementRFC6020Support extends AbstractQNameStatementSupport<IdentityStatement,IdentityEffectiveStatement>
Modifier and Type | Method and Description |
---|---|
IdentityStatement |
createDeclared(StmtContext<QName,IdentityStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
IdentityEffectiveStatement |
createEffective(StmtContext<QName,IdentityStatement,IdentityEffectiveStatement> ctx)
Create a
EffectiveStatement for specified context. |
static IdentityStatementRFC6020Support |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onStatementDefinitionDeclared(StmtContext.Mutable<QName,IdentityStatement,IdentityEffectiveStatement> stmt)
Invoked when statement is closed during
ModelProcessingPhase.STATEMENT_DEFINITION 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, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeatures
public static IdentityStatementRFC6020Support getInstance()
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<QName,IdentityStatement,IdentityEffectiveStatement>
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 IdentityStatement createDeclared(StmtContext<QName,IdentityStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic final IdentityEffectiveStatement createEffective(StmtContext<QName,IdentityStatement,IdentityEffectiveStatement> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic final void onStatementDefinitionDeclared(StmtContext.Mutable<QName,IdentityStatement,IdentityEffectiveStatement> stmt)
AbstractStatementSupport
ModelProcessingPhase.STATEMENT_DEFINITION
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)
.
onStatementDefinitionDeclared
in interface StatementSupport<QName,IdentityStatement,IdentityEffectiveStatement>
onStatementDefinitionDeclared
in class AbstractStatementSupport<QName,IdentityStatement,IdentityEffectiveStatement>
stmt
- Context of added statement. Argument and statement parent is
accessible.Copyright © 2019 OpenDaylight. All rights reserved.