public final class BaseStatementSupport extends AbstractQNameStatementSupport<BaseStatement,EffectiveStatement<QName,BaseStatement>>
| Modifier and Type | Method and Description |
|---|---|
BaseStatement |
createDeclared(StmtContext<QName,BaseStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
EffectiveStatement<QName,BaseStatement> |
createEffective(StmtContext<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> ctx)
Create a
EffectiveStatement for specified context. |
static BaseStatementSupport |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onStatementDefinitionDeclared(StmtContext.Mutable<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> baseStmtCtx)
Invoked when statement is closed during
ModelProcessingPhase.STATEMENT_DEFINITION phase,
only substatements from this phase are available. |
QName |
parseArgumentValue(StmtContext<?,?,?> ctx,
String value)
Parses textual representation of argument in object representation.
|
adaptArgumentValuegetPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementAddedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getImplicitParentFor, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeaturespublic static BaseStatementSupport getInstance()
public QName 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 BaseStatement createDeclared(StmtContext<QName,BaseStatement,?> ctx)
StatementFactoryDeclaredStatement for specified context.ctx - Statement contextpublic EffectiveStatement<QName,BaseStatement> createEffective(StmtContext<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> ctx)
StatementFactoryEffectiveStatement for specified context.ctx - Statement contextpublic void onStatementDefinitionDeclared(StmtContext.Mutable<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>> baseStmtCtx)
AbstractStatementSupportModelProcessingPhase.STATEMENT_DEFINITION phase,
only substatements from this phase are available.
Implementation may use method to perform actions on this event or register modification action using
StmtContext.Mutable.newInferenceAction(ModelProcessingPhase)..
Subclasses of this class may override this method to perform actions on this event or register a modification
action using StmtContext.Mutable.newInferenceAction(ModelProcessingPhase).
onStatementDefinitionDeclared in interface StatementSupport<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>>onStatementDefinitionDeclared in class AbstractStatementSupport<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>>baseStmtCtx - Context of added statement. Argument and statement parent is
accessible.protected SubstatementValidator getSubstatementValidator()
AbstractStatementSupportgetSubstatementValidator in class AbstractStatementSupport<QName,BaseStatement,EffectiveStatement<QName,BaseStatement>>Copyright © 2019 OpenDaylight. All rights reserved.