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