Package | Description |
---|---|
org.opendaylight.yangtools.yang.model.api |
Definition of structures and DOM like API of effected YANG schema
|
org.opendaylight.yangtools.yang.model.api.meta |
Meta model of YANG model as was defined in RFC6020 and extracted by analysis
of YANG text.
|
org.opendaylight.yangtools.yang.parser.spi.meta |
Provides base abstract classes, interfaces and common implementation used by the statement parser.
|
org.opendaylight.yangtools.yang.parser.spi.source |
Provides API necessary for the processing of statement sources.
|
org.opendaylight.yangtools.yang.parser.stmt.reactor |
Contains the implementation of the parser reactor
CrossSourceStatementReactor . |
org.opendaylight.yangtools.yang.parser.stmt.rfc6020 |
Contains implementation of statement supports for Rfc6020 statements and
implementation of declared statements.
|
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective |
Contains implementation of Rfc6020 effective statements.
|
org.opendaylight.yangtools.yang.parser.stmt.rfc7950 |
Contains implementation of statement supports for Rfc7950 statements
and implementation of declared statements specific to Rfc7950.
|
Modifier and Type | Class and Description |
---|---|
class |
YangStmtMapping
Mapping for both RFC6020 and RFC7950 statements.
|
Modifier and Type | Method and Description |
---|---|
StatementDefinition |
ModelStatement.statementDefinition()
Statement Definition of this statement.
|
Modifier and Type | Interface and Description |
---|---|
interface |
StatementSupport<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Support for processing concrete YANG statement.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractStatementSupport<A,D extends DeclaredStatement<A>,E extends EffectiveStatement<A,D>>
Class providing necessary support for processing YANG statement.
|
Modifier and Type | Method and Description |
---|---|
StatementDefinition |
StmtContext.getPublicDefinition() |
StatementDefinition |
AbstractStatementSupport.getPublicView() |
StatementDefinition |
StatementSupport.getPublicView()
Returns public statement definition, which will be present in built
statements.
|
StatementDefinition |
AbstractDeclaredStatement.statementDefinition() |
Modifier and Type | Method and Description |
---|---|
SubstatementValidator.Builder |
SubstatementValidator.Builder.add(StatementDefinition d,
int min,
int max) |
SubstatementValidator.Builder |
SubstatementValidator.Builder.addAny(StatementDefinition d) |
SubstatementValidator.Builder |
SubstatementValidator.Builder.addAtLeast(StatementDefinition d,
int min) |
SubstatementValidator.Builder |
SubstatementValidator.Builder.addAtMost(StatementDefinition d,
int max) |
SubstatementValidator.Builder |
SubstatementValidator.Builder.addMandatory(StatementDefinition d) |
SubstatementValidator.Builder |
SubstatementValidator.Builder.addMultiple(StatementDefinition d) |
SubstatementValidator.Builder |
SubstatementValidator.Builder.addOptional(StatementDefinition d) |
static SubstatementValidator.Builder |
SubstatementValidator.builder(StatementDefinition currentStatement) |
static <AT,DT extends DeclaredStatement<AT>> |
StmtContextUtils.hasAncestorOfTypeWithChildOfType(StmtContext<?,?,?> ctx,
StatementDefinition ancestorType,
StatementDefinition ancestorChildType)
Checks whether all of StmtContext's ancestors of specified type have a child of specified type
|
static boolean |
StmtContextUtils.hasParentOfType(StmtContext<?,?,?> ctx,
StatementDefinition parentType)
Checks whether the parent of StmtContext is of specified type
|
static boolean |
StmtContextUtils.isNotMandatoryNodeOfType(StmtContext<?,?,?> stmtCtx,
StatementDefinition stmtDef)
Checks whether a statement context is a statement of supplied statement
definition and whether it is not mandatory leaf, choice, anyxml, list or
leaf-list according to RFC6020.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
StmtContextUtils.hasAncestorOfType(StmtContext<?,?,?> ctx,
Collection<StatementDefinition> ancestorTypes)
Checks whether at least one ancestor of a StatementContext matches one
from collection of statement definitions.
|
Constructor and Description |
---|
AbstractStatementSupport(StatementDefinition publicDefinition) |
Modifier and Type | Method and Description |
---|---|
StatementDefinition |
QNameToStatementDefinition.get(QName identifier)
Returns StatementDefinition with specified QName.
|
StatementDefinition |
QNameToStatementDefinition.getByNamespaceAndLocalName(URI namespace,
String localName)
Returns StatementDefinition with specified namespace and localName.
|
StatementDefinition |
QNameToStatementDefinitionMap.getByNamespaceAndLocalName(URI namespace,
String localName) |
Modifier and Type | Method and Description |
---|---|
StatementDefinition |
StatementContextBase.getPublicDefinition()
|
StatementDefinition |
StatementDefinitionContext.getPublicView() |
Modifier and Type | Method and Description |
---|---|
void |
StatementContextBase.removeStatementFromEffectiveSubstatements(StatementDefinition statementDef) |
void |
StatementContextBase.removeStatementFromEffectiveSubstatements(StatementDefinition statementDef,
String statementArg)
Removes a statement context from the effective substatements
based on its statement definition (i.e statement keyword) and raw (in String form) statement argument.
|
Modifier and Type | Method and Description |
---|---|
CustomStatementParserBuilder |
CustomStatementParserBuilder.addValidationBundle(ValidationBundlesNamespace.ValidationBundleType validationBundleType,
Collection<StatementDefinition> validationBundle) |
Constructor and Description |
---|
Definition(StatementDefinition publicDefinition) |
Modifier and Type | Method and Description |
---|---|
StatementDefinition |
UndeclaredEffectiveStatementBase.statementDefinition() |
StatementDefinition |
DeclaredEffectiveStatementBase.statementDefinition() |
Modifier and Type | Class and Description |
---|---|
static class |
ActionStatementImpl.Definition |
static class |
AnydataStatementImpl.Definition |
class |
AugmentStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Augment statement.
|
class |
BitStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Bit statement.
|
class |
CaseStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Case statement.
|
class |
ChoiceStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Choice statement.
|
class |
ContainerStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Container
statement.
|
class |
DeviateStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 deviate statement.
|
class |
EnumStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Enum statement.
|
class |
GroupingStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Grouping statement.
|
class |
IdentityrefSpecificationRfc7950Support
Class providing necessary support for processing YANG 1.1 identityref statement.
|
class |
IdentityStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Identity statement.
|
class |
ImportStatementRfc7950Support
Implementation of import statement definition for Yang 1.1 (RFC 7950) to
allow import statement to have "description" and "reference" as substatements.
|
class |
IncludeStatementRfc7950Support
Implementation of include statement definition for Yang 1.1 (RFC 7950) to
allow include statement to have "description" and "reference" as substatements.
|
class |
InputStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Input statement.
|
class |
LeafListStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 leaf-list statement.
|
class |
LeafrefSpecificationRfc7950Support
Class providing necessary support for processing YANG 1.1 leafref statement.
|
class |
ListStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 List statement.
|
static class |
ModifierStatementImpl.Definition |
class |
ModuleStatementRfc7950Support |
class |
NotificationStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Notification
statement.
|
class |
OutputStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Output statement.
|
class |
PatternStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Pattern statement.
|
class |
RefineStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Refine statement.
|
class |
RpcStatementRfc7950Support
Bridge class for RFC7950 RPCs.
|
class |
SubmoduleStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Submodule statement.
|
class |
TypeStatementRfc7950Support
Class providing necessary support for processing YANG 1.1 Type statement.
|
Copyright © 2018 OpenDaylight. All rights reserved.