public final class AnnotationStatementSupport extends AbstractStatementSupport<String,AnnotationStatement,AnnotationEffectiveStatement>
| Modifier and Type | Method and Description |
|---|---|
AnnotationStatement |
createDeclared(StmtContext<String,AnnotationStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
AnnotationEffectiveStatement |
createEffective(StmtContext<String,AnnotationStatement,AnnotationEffectiveStatement> ctx)
Create a
EffectiveStatement for specified context. |
static AnnotationStatementSupport |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onStatementAdded(StmtContext.Mutable<String,AnnotationStatement,AnnotationEffectiveStatement> stmt)
Invoked when a statement supported by this instance is added to build context.
|
String |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclaredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadaptArgumentValue, getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getImplicitParentFor, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeaturespublic static AnnotationStatementSupport getInstance()
public AnnotationStatement createDeclared(StmtContext<String,AnnotationStatement,?> ctx)
StatementFactoryDeclaredStatement for specified context.ctx - Statement contextpublic AnnotationEffectiveStatement createEffective(StmtContext<String,AnnotationStatement,AnnotationEffectiveStatement> ctx)
StatementFactoryEffectiveStatement for specified context.ctx - Statement contextpublic String 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 void onStatementAdded(StmtContext.Mutable<String,AnnotationStatement,AnnotationEffectiveStatement> stmt)
StatementSupportStmtContext.getParentContext(). One such use is populating the parent's namespaces to
allow it to locate this child statement.onStatementAdded in interface StatementSupport<String,AnnotationStatement,AnnotationEffectiveStatement>onStatementAdded in class AbstractStatementSupport<String,AnnotationStatement,AnnotationEffectiveStatement>stmt - Context of added statement. No substatements are available.protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupportgetSubstatementValidator in class AbstractStatementSupport<String,AnnotationStatement,AnnotationEffectiveStatement>Copyright © 2019 OpenDaylight. All rights reserved.