@Beta public final class YangDataStatementSupport extends AbstractStatementSupport<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>>
| Modifier and Type | Method and Description |
|---|---|
YangDataStatement |
createDeclared(StmtContext<String,YangDataStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<String,YangDataStatement> |
createEffective(StmtContext<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>> ctx)
Create a
EffectiveStatement for specified context. |
static YangDataStatementSupport |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
boolean |
isIgnoringConfig()
Returns true if this statement support and all its substatements ignore config statements (e.g.
|
boolean |
isIgnoringIfFeatures()
Returns true if this statement support and all its substatements ignore if-feature statements (e.g.
|
void |
onFullDefinitionDeclared(StmtContext.Mutable<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>> ctx)
Invoked when statement is closed during
ModelProcessingPhase.FULL_DECLARATION phase,
only substatements from this phase are available. |
String |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclaredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptArgumentValue, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getImplicitParentFor, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElementpublic static YangDataStatementSupport getInstance()
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupportgetSubstatementValidator in class AbstractStatementSupport<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>>public String 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 YangDataStatement createDeclared(StmtContext<String,YangDataStatement,?> ctx)
StatementFactoryDeclaredStatement for specified context.ctx - Statement contextpublic EffectiveStatement<String,YangDataStatement> createEffective(StmtContext<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>> ctx)
StatementFactoryEffectiveStatement for specified context.ctx - Statement contextpublic void onFullDefinitionDeclared(StmtContext.Mutable<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>> ctx)
AbstractStatementSupportModelProcessingPhase.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 a modification
action using StmtContext.Mutable.newInferenceAction(ModelProcessingPhase).
onFullDefinitionDeclared in interface StatementSupport<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>>onFullDefinitionDeclared in class AbstractStatementSupport<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>>ctx - Context of added statement. Argument and statement parent is
accessible.public boolean isIgnoringIfFeatures()
StatementSupportpublic boolean isIgnoringConfig()
StatementSupportCopyright © 2019 OpenDaylight. All rights reserved.