Uses of Interface
org.opendaylight.yangtools.yang.parser.spi.meta.StmtContext.Mutable
Packages that use StmtContext.Mutable
Package
Description
Provides base abstract classes, interfaces and common implementation used by the statement parser.
-
Uses of StmtContext.Mutable in org.opendaylight.yangtools.yang.parser.spi.meta
Subinterfaces of StmtContext.Mutable in org.opendaylight.yangtools.yang.parser.spi.metaModifier and TypeInterfaceDescriptionstatic interfaceRootStmtContext.Mutable<A,D extends org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement<A>, E extends org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement<A, D>> Methods in org.opendaylight.yangtools.yang.parser.spi.meta with type parameters of type StmtContext.MutableModifier and TypeMethodDescription<C extends StmtContext.Mutable<?,?, ?>, T extends C>
@NonNull ModelActionBuilder.Prerequisite<C>ModelActionBuilder.mutatesCtx(T context, ModelProcessingPhase phase) Action mutates the specified statement in the specified phase.default <T extends StmtContext.Mutable<?,?, ?>>
@NonNull ModelActionBuilder.Prerequisite<T>ModelActionBuilder.mutatesEffectiveCtx(T context) Action mutates the effective model of specified statement.Methods in org.opendaylight.yangtools.yang.parser.spi.meta that return StmtContext.MutableModifier and TypeMethodDescriptiondefault StmtContext.Mutable<?,?, ?> StmtContext.Mutable.childCopyOf(StmtContext<?, ?, ?> stmt, CopyType type) Create a child sub-statement, which is a child of this statement, inheriting all attributes from specified child and recording copy type.StmtContext.Mutable<?,?, ?> StmtContext.Mutable.childCopyOf(StmtContext<?, ?, ?> stmt, CopyType type, @Nullable QNameModule targetModule) Create a child sub-statement, which is a child of this statement, inheriting all attributes from specified child and recording copy type.default StmtContext.Mutable<?,?, ?> StmtContext.Mutable.coerceParentContext()<X,Y extends org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement<X>, Z extends org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement<X, Y>>
@NonNull StmtContext.Mutable<X,Y, Z> StmtContext.Mutable.createUndeclaredSubstatement(StatementSupport<X, Y, Z> support, @Nullable X arg) Create a purely-effective substatement.StmtContext.Mutable<?,?, ?> StmtContext.Mutable.getParentContext()@NonNull StmtContext.Mutable<A,D, E> StmtContext.replicaAsChildOf(StmtContext.Mutable<?, ?, ?> parent) Create a replica of this statement as a substatement of specifiedparent.Methods in org.opendaylight.yangtools.yang.parser.spi.meta that return types with arguments of type StmtContext.MutableModifier and TypeMethodDescription@NonNull Optional<? extends StmtContext.Mutable<?,?, ?>> StmtContext.copyAsChildOf(StmtContext.Mutable<?, ?, ?> parent, CopyType type, @Nullable QNameModule targetModule) @NonNull Collection<? extends @NonNull StmtContext.Mutable<?,?, ?>> StmtContext.Mutable.mutableDeclaredSubstatements()@NonNull Collection<? extends @NonNull StmtContext.Mutable<?,?, ?>> StmtContext.Mutable.mutableEffectiveSubstatements()<K,E extends org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement<?, ?>, N extends ParserNamespace<K, ? extends StmtContext<?, ?, ?>>>
@NonNull ModelActionBuilder.Prerequisite<StmtContext.Mutable<?,?, E>> ModelActionBuilder.mutatesEffectiveCtx(StmtContext<?, ?, ?> context, Class<N> namespace, K key) <K,E extends org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement<?, ?>, N extends ParserNamespace<K, ? extends StmtContext<?, ?, ?>>>
@NonNull ModelActionBuilder.Prerequisite<StmtContext.Mutable<?,?, E>> ModelActionBuilder.mutatesEffectiveCtxPath(StmtContext<?, ?, ?> context, Class<N> namespace, Iterable<K> keys) <N extends ParserNamespace<?,?>>
@NonNull ModelActionBuilder.Prerequisite<StmtContext.Mutable<?,?, ?>> ModelActionBuilder.mutatesNs(StmtContext.Mutable<?, ?, ?> ctx, Class<N> namespace) Deprecated.Undocumented method.Methods in org.opendaylight.yangtools.yang.parser.spi.meta with parameters of type StmtContext.MutableModifier and TypeMethodDescriptionvoidStmtContext.Mutable.addEffectiveSubstatement(StmtContext.Mutable<?, ?, ?> substatement) Adds an effective statement to collection of substatements.@NonNull Optional<? extends StmtContext.Mutable<?,?, ?>> StmtContext.copyAsChildOf(StmtContext.Mutable<?, ?, ?> parent, CopyType type, @Nullable QNameModule targetModule) <N extends ParserNamespace<?,?>>
@NonNull ModelActionBuilder.Prerequisite<StmtContext.Mutable<?,?, ?>> ModelActionBuilder.mutatesNs(StmtContext.Mutable<?, ?, ?> ctx, Class<N> namespace) Deprecated.Undocumented method.voidForwardingStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<A, D, E> stmt) voidStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<A, D, E> stmt) Invoked when statement is closed duringModelProcessingPhase.FULL_DECLARATIONphase, only substatements from this phase are available.voidForwardingStatementSupport.onLinkageDeclared(StmtContext.Mutable<A, D, E> stmt) voidStatementSupport.onLinkageDeclared(@NonNull StmtContext.Mutable<A, D, E> stmt) Invoked when statement is closed duringModelProcessingPhase.SOURCE_LINKAGEphase, only substatements from this and previous phase are available.voidForwardingStatementSupport.onPreLinkageDeclared(StmtContext.Mutable<A, D, E> stmt) voidStatementSupport.onPreLinkageDeclared(@NonNull StmtContext.Mutable<A, D, E> stmt) Invoked when statement is closed duringModelProcessingPhase.SOURCE_PRE_LINKAGEphase, only substatements from this and previous phase are available.voidAbstractSchemaTreeStatementSupport.onStatementAdded(StmtContext.Mutable<QName, D, E> stmt) Invoked when a statement supported by this instance is added to build context.voidForwardingStatementSupport.onStatementAdded(StmtContext.Mutable<A, D, E> stmt) voidStatementSupport.onStatementAdded(@NonNull StmtContext.Mutable<A, D, E> stmt) Invoked when a statement supported by this instance is added to build context.voidForwardingStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<A, D, E> stmt) voidStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<A, D, E> stmt) Invoked when statement is closed duringModelProcessingPhase.STATEMENT_DEFINITIONphase, only substatements from this phase are available.@NonNull StmtContext.Mutable<A,D, E> StmtContext.replicaAsChildOf(StmtContext.Mutable<?, ?, ?> parent) Create a replica of this statement as a substatement of specifiedparent.static voidStmtContextUtils.validateNoKeylessListAncestorOf(StmtContext.Mutable<?, ?, ?> stmt, String name) Check whether all of StmtContext'slistancestors have akey.Method parameters in org.opendaylight.yangtools.yang.parser.spi.meta with type arguments of type StmtContext.MutableModifier and TypeMethodDescriptionvoidStmtContext.Mutable.addEffectiveSubstatements(Collection<? extends StmtContext.Mutable<?, ?, ?>> statements) Adds an effective statement to collection of substatements.