@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, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptArgumentValue, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement
public static YangDataStatementSupport getInstance()
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>>
public String 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 YangDataStatement createDeclared(StmtContext<String,YangDataStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<String,YangDataStatement> createEffective(StmtContext<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic void onFullDefinitionDeclared(StmtContext.Mutable<String,YangDataStatement,EffectiveStatement<String,YangDataStatement>> ctx)
AbstractStatementSupport
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 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()
StatementSupport
public boolean isIgnoringConfig()
StatementSupport
Copyright © 2019 OpenDaylight. All rights reserved.