public final class ModifierStatementSupport extends AbstractStatementSupport<ModifierKind,ModifierStatement,EffectiveStatement<ModifierKind,ModifierStatement>>
Modifier and Type | Method and Description |
---|---|
ModifierStatement |
createDeclared(StmtContext<ModifierKind,ModifierStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<ModifierKind,ModifierStatement> |
createEffective(StmtContext<ModifierKind,ModifierStatement,EffectiveStatement<ModifierKind,ModifierStatement>> ctx)
Create a
EffectiveStatement for specified context. |
static ModifierStatementSupport |
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.
|
ModifierKind |
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 ModifierStatementSupport getInstance()
public ModifierKind 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 ModifierStatement createDeclared(StmtContext<ModifierKind,ModifierStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic EffectiveStatement<ModifierKind,ModifierStatement> createEffective(StmtContext<ModifierKind,ModifierStatement,EffectiveStatement<ModifierKind,ModifierStatement>> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextprotected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<ModifierKind,ModifierStatement,EffectiveStatement<ModifierKind,ModifierStatement>>
public String internArgument(String rawArgument)
StatementSupport
rawArgument
- Argument stringCopyright © 2019 OpenDaylight. All rights reserved.