public static class LeafStatementImpl.Definition extends AbstractStatementSupport<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>>
Constructor and Description |
---|
Definition() |
beforeSubStatementCreated, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, isArgumentYinElement, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnknownStatementDefinitionOf, internArgument, isIgnoringConfig, isIgnoringIfFeatures
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 void onStatementAdded(StmtContext.Mutable<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>> 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,LeafStatement,EffectiveStatement<QName,LeafStatement>>
onStatementAdded
in class AbstractStatementSupport<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>>
stmt
- Context of added statement. No substatements are available.public LeafStatement createDeclared(StmtContext<QName,LeafStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<QName,LeafStatement> createEffective(StmtContext<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextprotected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>>
public void onFullDefinitionDeclared(StmtContext.Mutable<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>> ctx)
AbstractStatementSupport
ModelProcessingPhase.FULL_DECLARATION
phase.
Invoked when statement is closed during
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 modification action using
StmtContext.Mutable.newInferenceAction(ModelProcessingPhase)
.onFullDefinitionDeclared
in interface StatementSupport<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>>
onFullDefinitionDeclared
in class AbstractStatementSupport<QName,LeafStatement,EffectiveStatement<QName,LeafStatement>>
ctx
- Context of added statement. Argument and statement parent is
accessible.Copyright © 2018 OpenDaylight. All rights reserved.