public final class ModelDefinedStatementSupport extends AbstractStatementSupport<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>>
UnknownStatementImpl.Definition
.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
|
Optional<StatementDefinitionContext<?,?,?>> |
getUnknownStatementDefinitionOf(StatementDefinitionContext<?,?,?> yangStmtDef)
Returns unknown statement form of a regular yang statement supplied as
parameter to the method.
|
String |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
beforeSubStatementCreated, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getPublicView, getStatementName, getSupportSpecificForArgument, hasArgumentSpecificSupports, isArgumentYinElement, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
internArgument, isIgnoringConfig, isIgnoringIfFeatures
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 String parseArgumentValue(StmtContext<?,?,?> ctx, String value) throws SourceException
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.SourceException
- when an inconsistency is detected.protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<String,UnknownStatement<String>,EffectiveStatement<String,UnknownStatement<String>>>
public Optional<StatementDefinitionContext<?,?,?>> getUnknownStatementDefinitionOf(StatementDefinitionContext<?,?,?> yangStmtDef)
StatementSupport
yangStmtDef
- statement definition of a regular yang statementCopyright © 2018 OpenDaylight. All rights reserved.