| Package | Description |
|---|---|
| org.opendaylight.yangtools.yang.parser.spi.meta |
Provides base abstract classes, interfaces and common implementation used by the statement parser.
|
| Modifier and Type | Method and Description |
|---|---|
<C extends StmtContext.Mutable<?,?,?>,T extends C> |
ModelActionBuilder.mutatesCtx(T context,
ModelProcessingPhase phase)
Action mutates the specified statement in the specified phase.
|
default <T extends StmtContext.Mutable<?,?,?>> |
ModelActionBuilder.mutatesEffectiveCtx(T context)
Action mutates the effective model of specified statement.
|
| Modifier and Type | Method and Description |
|---|---|
default <X,Y extends org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement<X>,Z extends org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement<X,Y>> |
StmtContext.Mutable.childCopyOf(StmtContext<X,Y,Z> 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.
|
<X,Y extends org.opendaylight.yangtools.yang.model.api.meta.DeclaredStatement<X>,Z extends org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement<X,Y>> |
StmtContext.Mutable.childCopyOf(StmtContext<X,Y,Z> stmt,
CopyType type,
@Nullable org.opendaylight.yangtools.yang.common.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() |
StmtContext.Mutable<?,?,?> |
StmtContext.Mutable.getParentContext() |
StmtContext.Mutable<?,?,?> |
StmtContext.Mutable.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
<N extends org.opendaylight.yangtools.yang.model.api.meta.IdentifierNamespace<?,?>> |
ModelActionBuilder.mutatesNs(StmtContext.Mutable<?,?,?> ctx,
Class<N> namespace)
Deprecated.
Undocumented method. Use at your own risk.
|
void |
StatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.FULL_DECLARATION phase,
only substatements from this phase are available. |
void |
ForwardingStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<A,D,E> stmt) |
void |
AbstractStatementSupport.onFullDefinitionDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.FULL_DECLARATION phase,
only substatements from this phase are available. |
void |
StatementSupport.onLinkageDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.SOURCE_LINKAGE phase, only substatements
from this and previous phase are available. |
void |
ForwardingStatementSupport.onLinkageDeclared(StmtContext.Mutable<A,D,E> stmt) |
void |
AbstractStatementSupport.onLinkageDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.SOURCE_LINKAGE phase, only substatements
from this and previous phase are available. |
void |
StatementSupport.onPreLinkageDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.SOURCE_PRE_LINKAGE phase, only substatements
from this and previous phase are available. |
void |
ForwardingStatementSupport.onPreLinkageDeclared(StmtContext.Mutable<A,D,E> stmt) |
void |
AbstractStatementSupport.onPreLinkageDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.SOURCE_PRE_LINKAGE phase, only substatements
from this and previous phase are available. |
void |
StatementSupport.onStatementAdded(StmtContext.Mutable<A,D,E> stmt)
Invoked when a statement supported by this instance is added to build context.
|
void |
ForwardingStatementSupport.onStatementAdded(StmtContext.Mutable<A,D,E> stmt) |
void |
AbstractStatementSupport.onStatementAdded(StmtContext.Mutable<A,D,E> stmt) |
void |
StatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.STATEMENT_DEFINITION phase,
only substatements from this phase are available. |
void |
ForwardingStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<A,D,E> stmt) |
void |
AbstractStatementSupport.onStatementDefinitionDeclared(StmtContext.Mutable<A,D,E> stmt)
Invoked when statement is closed during
ModelProcessingPhase.STATEMENT_DEFINITION phase,
only substatements from this phase are available. |
Copyright © 2019 OpenDaylight. All rights reserved.