Modifier and Type | Interface and Description |
---|---|
interface |
AnyxmlSchemaLocationStatement |
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
OpenDaylightExtensionsStatements.getDeclaredRepresentationClass() |
Modifier and Type | Interface and Description |
---|---|
interface |
OpenConfigHashedValueStatement
Declared statement corresponding to config's "openconfig-hashed-value" (new name) or "openconfig-encrypted-value"
(old name).
|
interface |
OpenConfigVersionStatement |
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
OpenConfigStatements.getDeclaredRepresentationClass() |
Modifier and Type | Interface and Description |
---|---|
interface |
DefaultDenyAllStatement
Declared statement representation of 'default-deny-all' extension defined in
RFC6536.
|
interface |
DefaultDenyWriteStatement
Declared statement representation of 'default-deny-write' extension defined in
RFC6536.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
NACMStatements.getDeclaredRepresentationClass() |
Modifier and Type | Interface and Description |
---|---|
interface |
AnnotationStatement
Declared statement representation of 'annotation' extension defined in
RFC7952.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
MetadataStatements.getDeclaredRepresentationClass() |
Modifier and Type | Interface and Description |
---|---|
interface |
YangDataStatement
Declared statement representation of 'yang-data' extension defined in
RFC 8040.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
YangDataStatements.getDeclaredRepresentationClass() |
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
YangStmtMapping.getDeclaredRepresentationClass() |
Modifier and Type | Class and Description |
---|---|
class |
DefaultStatementDefinition<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Default implementation of the
StatementDefinition contract. |
interface |
EffectiveStatement<A,D extends DeclaredStatement<A>>
Effective model statement which should be used to derive application behaviour.
|
class |
ForwardingEffectiveStatement<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Utility forwarding implementation of
EffectiveStatement contract. |
Modifier and Type | Method and Description |
---|---|
default <S extends DeclaredStatement<?>> |
DeclaredStatement.declaredSubstatements(Class<S> type)
Returns collection of explicitly declared child statements, while preserving its original ordering from original
source.
|
default <T extends DeclaredStatement<?>> |
DeclaredStatement.findFirstDeclaredSubstatement(@NonNull Class<T> type)
Find the first effective substatement of specified type.
|
default <V,T extends DeclaredStatement<V>> |
DeclaredStatement.findFirstDeclaredSubstatementArgument(@NonNull Class<T> type)
Find the first declared substatement of specified type and return its value.
|
static <A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
DefaultStatementDefinition.of(QName statementName,
Class<D> declaredRepresentation,
Class<E> effectiveRepresentation) |
static <A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
DefaultStatementDefinition.of(QName statementName,
Class<D> declaredRepresentation,
Class<E> effectiveRepresentation,
QName argumentName) |
static <A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
DefaultStatementDefinition.of(QName statementName,
Class<D> declaredRepresentation,
Class<E> effectiveRepresentation,
QName argumentName,
boolean argumentYinElement) |
default <T extends DeclaredStatement<?>> |
DeclaredStatement.streamDeclaredSubstatements(@NonNull Class<T> type)
Find all declared substatements of specified type and return them as a stream.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends DeclaredStatement<?>> |
DefaultStatementDefinition.getDeclaredRepresentationClass() |
Modifier and Type | Interface and Description |
---|---|
interface |
DataTreeAwareEffectiveStatement<A,D extends DeclaredStatement<A>>
Interface implemented by all
SchemaTreeAwareEffectiveStatement s which can contain a data tree child. |
interface |
DataTreeEffectiveStatement<D extends DeclaredStatement<QName>>
Common interface grouping all
EffectiveStatement s which are accessible via
DataTreeAwareEffectiveStatement.Namespace . |
interface |
NamespacedEffectiveStatement<D extends DeclaredStatement<QName>>
Common super-interface for all statements which can be held in one of the
EffectiveStatementNamespace s. |
interface |
SchemaTreeAwareEffectiveStatement<A,D extends DeclaredStatement<A>>
Interface implemented by all
EffectiveStatement s which can contain a schema tree child. |
interface |
SchemaTreeEffectiveStatement<D extends DeclaredStatement<QName>>
Common interface grouping all
EffectiveStatement s which are accessible via
SchemaTreeAwareEffectiveStatement.Namespace . |
Modifier and Type | Method and Description |
---|---|
YangTextSnippet |
DeclaredStatementFormatter.toYangTextSnippet(ModuleEffectiveStatement module,
DeclaredStatement<?> statement)
Format specified statement into a
YangTextSnippet . |
Modifier and Type | Method and Description |
---|---|
List<DeclaredStatement<?>> |
YangParser.buildDeclaredModel()
Build the declared view of a combined view of declared statements.
|
Modifier and Type | Class and Description |
---|---|
class |
ChildSchemaNodeNamespace<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Statement local namespace, which holds direct schema node descendants.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRootStatement<T extends DeclaredStatement<String>> |
Modifier and Type | Class and Description |
---|---|
class |
GroupingStatementImpl |
Modifier and Type | Class and Description |
---|---|
class |
PatternStatementImpl |
Modifier and Type | Class and Description |
---|---|
class |
BitsSpecificationImpl |
Modifier and Type | Class and Description |
---|---|
class |
AbstractQNameStatementSupport<D extends DeclaredStatement<QName>,E extends EffectiveStatement<QName,D>>
Class providing necessary support for processing a YANG statements which has a
QName argument. |
class |
AbstractStatementSupport<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Class providing necessary support for processing a YANG statement.
|
class |
ForwardingStatementSupport<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Utility forwarding implementation of
StatementSupport contract. |
interface |
StatementFactory<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
interface |
StatementNamespace<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> |
static interface |
StatementNamespace.TreeBased<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> |
static interface |
StatementNamespace.TreeScoped<K,D extends DeclaredStatement<?>,E extends EffectiveStatement<?,D>> |
interface |
StatementSupport<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Support for processing concrete YANG statement.
|
interface |
StmtContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
static interface |
StmtContext.Mutable<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractDeclaredStatement<A>
Utility abstract base class for implementing declared statements.
|
Modifier and Type | Method and Description |
---|---|
protected <S extends DeclaredStatement<?>> |
AbstractDeclaredStatement.allDeclared(Class<S> type)
Deprecated.
Use
declaredSubstatements(Class) instead. |
default <X,Y extends DeclaredStatement<X>,Z extends 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 DeclaredStatement<X>,Z extends EffectiveStatement<X,Y>> |
StmtContext.Mutable.childCopyOf(StmtContext<X,Y,Z> 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.
|
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.findAllDeclaredSubstatements(StmtContext<?,?,?> stmtContext,
Class<D> declaredType) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.findAllEffectiveSubstatements(StmtContext<?,?,?> stmtContext,
Class<D> type) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.findAllSubstatements(StmtContext<?,?,?> stmtContext,
Class<D> type) |
static <D extends DeclaredStatement<?>> |
StmtContextUtils.findDeepFirstDeclaredSubstatement(StmtContext<?,?,?> stmtContext,
Class<D> declaredType) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.findFirstDeclaredSubstatement(StmtContext<?,?,?> stmtContext,
Class<D> declaredType) |
static <D extends DeclaredStatement<?>> |
StmtContextUtils.findFirstDeclaredSubstatementOnSublevel(StmtContext<?,?,?> stmtContext,
Class<D> declaredType,
int sublevel) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.findFirstEffectiveSubstatement(StmtContext<?,?,?> stmtContext,
Class<D> declaredType) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.findFirstSubstatement(StmtContext<?,?,?> stmtContext,
Class<D> declaredType)
Searches for the first substatement of the specified type in the specified statement context.
|
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.firstAttributeOf(Iterable<? extends StmtContext<?,?,?>> contexts,
Class<D> declaredType) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.firstAttributeOf(StmtContext<?,?,?> ctx,
Class<D> declaredType) |
protected <S extends DeclaredStatement<?>> |
AbstractDeclaredStatement.firstDeclared(Class<S> type)
Deprecated.
Use
findFirstDeclaredSubstatement(Class) instead. |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.firstSubstatementAttributeOf(StmtContext<?,?,?> ctx,
Class<D> declaredType) |
static <A,D extends DeclaredStatement<A>> |
StmtContextUtils.hasAncestorOfTypeWithChildOfType(StmtContext<?,?,?> ctx,
StatementDefinition ancestorType,
StatementDefinition ancestorChildType)
Checks whether all of StmtContext's ancestors of specified type have a child of specified type.
|
<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
ModelActionBuilder.requiresCtx(StmtContext<A,D,E> context,
ModelProcessingPhase phase)
Action requires that the specified context completes specified phase before
ModelActionBuilder.apply(InferenceAction)
may be invoked. |
<K,D extends DeclaredStatement<?>,N extends StatementNamespace<K,? extends D,?>> |
ModelActionBuilder.requiresDeclared(StmtContext<?,?,?> context,
Class<N> namespace,
K key)
Deprecated.
Undocumented method. Use at your own risk.
|
<D extends DeclaredStatement<?>> |
ModelActionBuilder.requiresDeclared(StmtContext<?,? extends D,?> context)
Action requires that the specified context transition to complete
ModelProcessingPhase.FULL_DECLARATION
phase and produce a declared statement. |
<K,D extends DeclaredStatement<?>,N extends StatementNamespace<K,? extends D,?>> |
ModelActionBuilder.requiresDeclaredCtx(StmtContext<?,?,?> context,
Class<N> namespace,
K key)
Deprecated.
Undocumented method. Use at your own risk.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends DeclaredStatement<?>> |
AbstractDeclaredStatement.declaredSubstatements() |
default Class<? extends DeclaredStatement<?>> |
StatementSupport.getDeclaredRepresentationClass() |
Modifier and Type | Method and Description |
---|---|
static boolean |
StmtContextUtils.producesDeclared(StmtContext<?,?,?> ctx,
Class<? extends DeclaredStatement<?>> type) |
Modifier and Type | Class and Description |
---|---|
class |
RootStatementContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Root statement class for a YANG source.
|
class |
StatementContextBase<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
class |
StatementDefinitionContext<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>> |
Modifier and Type | Method and Description |
---|---|
<X,Y extends DeclaredStatement<X>,Z extends EffectiveStatement<X,Y>> |
StatementContextBase.childCopyOf(StmtContext<X,Y,Z> stmt,
CopyType type,
QNameModule targetModule) |
<X,Y extends DeclaredStatement<X>,Z extends EffectiveStatement<X,Y>> |
StatementContextBase.createSubstatement(int offset,
StatementDefinitionContext<X,Y,Z> def,
StatementSourceReference ref,
String argument)
Create a new substatement at the specified offset.
|
Modifier and Type | Method and Description |
---|---|
List<DeclaredStatement<?>> |
EffectiveSchemaContext.getRootDeclaredStatements() |
com.google.common.collect.ImmutableList<DeclaredStatement<?>> |
EffectiveModelContext.getRootStatements() |
Constructor and Description |
---|
EffectiveModelContext(List<DeclaredStatement<?>> rootStatements) |
Copyright © 2019 OpenDaylight. All rights reserved.