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