public final class ConfigStatementSupport extends AbstractStatementSupport<Boolean,ConfigStatement,EffectiveStatement<Boolean,ConfigStatement>>
Modifier and Type | Method and Description |
---|---|
ConfigStatement |
createDeclared(StmtContext<Boolean,ConfigStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<Boolean,ConfigStatement> |
createEffective(StmtContext<Boolean,ConfigStatement,EffectiveStatement<Boolean,ConfigStatement>> ctx)
Create a
EffectiveStatement for specified context. |
static ConfigStatementSupport |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
String |
internArgument(String rawArgument)
Given a raw string representation of an argument, try to use a shared representation.
|
Boolean |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptArgumentValue, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeatures
public static ConfigStatementSupport getInstance()
public Boolean 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 ConfigStatement createDeclared(StmtContext<Boolean,ConfigStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<Boolean,ConfigStatement> createEffective(StmtContext<Boolean,ConfigStatement,EffectiveStatement<Boolean,ConfigStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextpublic String internArgument(String rawArgument)
StatementSupport
rawArgument
- Argument stringprotected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<Boolean,ConfigStatement,EffectiveStatement<Boolean,ConfigStatement>>
Copyright © 2019 OpenDaylight. All rights reserved.