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, onStatementDefinitionDeclaredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptArgumentValue, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeaturespublic static ConfigStatementSupport getInstance()
public Boolean 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 ConfigStatement createDeclared(StmtContext<Boolean,ConfigStatement,?> ctx)
StatementFactoryDeclaredStatement for specified context.ctx - Statement contextpublic EffectiveStatement<Boolean,ConfigStatement> createEffective(StmtContext<Boolean,ConfigStatement,EffectiveStatement<Boolean,ConfigStatement>> ctx)
StatementFactoryEffectiveStatement for specified context.ctx - Statement contextpublic String internArgument(String rawArgument)
StatementSupportrawArgument - Argument stringprotected SubstatementValidator getSubstatementValidator()
AbstractStatementSupportgetSubstatementValidator in class AbstractStatementSupport<Boolean,ConfigStatement,EffectiveStatement<Boolean,ConfigStatement>>Copyright © 2019 OpenDaylight. All rights reserved.