public final class AnyxmlStatementSupport extends AbstractQNameStatementSupport<AnyxmlStatement,AnyxmlEffectiveStatement>
Modifier and Type | Method and Description |
---|---|
AnyxmlStatement |
createDeclared(StmtContext<QName,AnyxmlStatement,?> ctx)
Create a
DeclaredStatement for specified context. |
AnyxmlEffectiveStatement |
createEffective(StmtContext<QName,AnyxmlStatement,AnyxmlEffectiveStatement> ctx)
Create a
EffectiveStatement for specified context. |
static AnyxmlStatementSupport |
getInstance() |
protected SubstatementValidator |
getSubstatementValidator()
Returns corresponding substatement validator of a statement support.
|
void |
onStatementAdded(StmtContext.Mutable<QName,AnyxmlStatement,AnyxmlEffectiveStatement> 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.
|
adaptArgumentValue
getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onFullDefinitionDeclared, onLinkageDeclared, onPreLinkageDeclared, onStatementDefinitionDeclared
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getArgumentName, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isArgumentYinElement, isIgnoringConfig, isIgnoringIfFeatures
public static AnyxmlStatementSupport getInstance()
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,AnyxmlStatement,AnyxmlEffectiveStatement> 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,AnyxmlStatement,AnyxmlEffectiveStatement>
onStatementAdded
in class AbstractStatementSupport<QName,AnyxmlStatement,AnyxmlEffectiveStatement>
stmt
- Context of added statement. No substatements are available.public AnyxmlStatement createDeclared(StmtContext<QName,AnyxmlStatement,?> ctx)
StatementFactory
DeclaredStatement
for specified context.ctx
- Statement contextpublic AnyxmlEffectiveStatement createEffective(StmtContext<QName,AnyxmlStatement,AnyxmlEffectiveStatement> ctx)
StatementFactory
EffectiveStatement
for specified context.ctx
- Statement contextprotected SubstatementValidator getSubstatementValidator()
AbstractStatementSupport
getSubstatementValidator
in class AbstractStatementSupport<QName,AnyxmlStatement,AnyxmlEffectiveStatement>
Copyright © 2019 OpenDaylight. All rights reserved.