public static class YangDataStatementImpl.YangDataSupport extends AbstractStatementSupport<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>>
Constructor and Description |
---|
YangDataSupport() |
Modifier and Type | Method and Description |
---|---|
UnknownStatement<String> |
createDeclared(StmtContext<String,UnknownStatement<String>,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<String,UnknownStatement<String>> |
createEffective(StmtContext<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>> ctx)
Create a
EffectiveStatement for specified context. |
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,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>> ctx)
Invoked when statement is closed during
ModelProcessingPhase.FULL_DECLARATION phase. |
String |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
beforeSubStatementCreated, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, isArgumentYinElement, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getUnknownStatementDefinitionOf, internArgument
protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>>
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 UnknownStatement<String> createDeclared(StmtContext<String,UnknownStatement<String>,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<String,UnknownStatement<String>> createEffective(StmtContext<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic void onFullDefinitionDeclared(StmtContext.Mutable<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>> 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<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>>
onFullDefinitionDeclared
in class AbstractStatementSupport<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>>
ctx
- Context of added statement. Argument and statement parent is
accessible.public boolean isIgnoringIfFeatures()
StatementSupport
public boolean isIgnoringConfig()
StatementSupport
Copyright © 2018 OpenDaylight. All rights reserved.