Class AnyxmlSchemaLocationStatementSupport
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport<A,D,E>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
-
- org.opendaylight.yangtools.odlext.parser.AnyxmlSchemaLocationStatementSupport
-
- All Implemented Interfaces:
Immutable
,MutationBehaviour<Immutable>
,StatementDefinition
,StatementFactory<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
,StatementSupport<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
public final class AnyxmlSchemaLocationStatementSupport extends BaseStatementSupport<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
StatementSupport.CopyPolicy
-
-
Method Summary
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.BaseStatementSupport
buildEffectiveSubstatements, createDeclared, createEffective, findFirstArgument, findFirstStatement, statementsToBuild
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.spi.meta.AbstractStatementSupport
applyCopyPolicy, getPublicView, getSupportSpecificForArgument, hasArgumentSpecificSupports, onLinkageDeclared, onPreLinkageDeclared, onStatementAdded, onStatementDefinitionDeclared
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.parser.spi.meta.StatementSupport
adaptArgumentValue, getArgumentDefinition, getDeclaredRepresentationClass, getEffectiveRepresentationClass, getStatementName, getUnknownStatementDefinitionOf, internArgument, isIgnoringConfig, isIgnoringIfFeatures
-
-
-
-
Method Detail
-
getInstance
public static AnyxmlSchemaLocationStatementSupport getInstance()
-
parseArgumentValue
public SchemaNodeIdentifier parseArgumentValue(StmtContext<?,?,?> ctx, String value)
Description copied from interface:StatementSupport
Parses textual representation of argument in object representation.- Parameters:
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.- Returns:
- Parsed value
-
onFullDefinitionDeclared
public void onFullDefinitionDeclared(StmtContext.Mutable<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement> stmt)
Description copied from class:AbstractStatementSupport
Invoked when statement is closed duringModelProcessingPhase.FULL_DECLARATION
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)
.- Specified by:
onFullDefinitionDeclared
in interfaceStatementSupport<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
- Overrides:
onFullDefinitionDeclared
in classAbstractStatementSupport<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
- Parameters:
stmt
- Context of added statement. Argument and statement parent is accessible.
-
getSubstatementValidator
protected SubstatementValidator getSubstatementValidator()
Description copied from class:AbstractStatementSupport
Returns corresponding substatement validator of a statement support.- Specified by:
getSubstatementValidator
in classAbstractStatementSupport<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement>
- Returns:
- substatement validator or null, if substatement validator is not defined
-
createDeclared
protected AnyxmlSchemaLocationStatement createDeclared(StmtContext<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,?> ctx, ImmutableList<? extends DeclaredStatement<?>> substatements)
-
createEmptyDeclared
protected AnyxmlSchemaLocationStatement createEmptyDeclared(StmtContext<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,?> ctx)
-
createEffective
protected AnyxmlSchemaLocationEffectiveStatement createEffective(StmtContext<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement> ctx, AnyxmlSchemaLocationStatement declared, ImmutableList<? extends EffectiveStatement<?,?>> substatements)
-
createEmptyEffective
protected AnyxmlSchemaLocationEffectiveStatement createEmptyEffective(StmtContext<SchemaNodeIdentifier,AnyxmlSchemaLocationStatement,AnyxmlSchemaLocationEffectiveStatement> ctx, AnyxmlSchemaLocationStatement declared)
-
-