public final class ExtensionStatementSupport extends AbstractQNameStatementSupport<ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>>
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 ExtensionStatementSupport getInstance()
public 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 ExtensionStatement createDeclared(StmtContext<QName,ExtensionStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<QName,ExtensionStatement> createEffective(StmtContext<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic void onStatementDefinitionDeclared(StmtContext.Mutable<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>> 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,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>>
onStatementDefinitionDeclared
in class AbstractStatementSupport<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>>
stmt
- Context of added statement. Argument and statement parent is
accessible.protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<QName,ExtensionStatement,EffectiveStatement<QName,ExtensionStatement>>
Copyright © 2019 OpenDaylight. All rights reserved.