Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.codec.gson | |
org.opendaylight.yangtools.yang.data.codec.xml | |
org.opendaylight.yangtools.yang.data.impl.codec | |
org.opendaylight.yangtools.yang.data.impl.codec.xml | |
org.opendaylight.yangtools.yang.data.impl.leafref | |
org.opendaylight.yangtools.yang.data.impl.schema | |
org.opendaylight.yangtools.yang.data.util | |
org.opendaylight.yangtools.yang.model.api |
Definition of structures and DOM like API of effected YANG schema
|
org.opendaylight.yangtools.yang.model.api.type | |
org.opendaylight.yangtools.yang.model.util |
Utility classes and implementations for concepts defined in yang-model-api.
|
org.opendaylight.yangtools.yang.parser.stmt.rfc6020.effective |
Contains implementation of Rfc6020 effective statements.
|
org.opendaylight.yangtools.yang.parser.stmt.rfc7950.effective |
Contains implementation of Rfc7950 effective statements.
|
Modifier and Type | Method and Description |
---|---|
static JsonParserStream |
JsonParserStream.create(NormalizedNodeStreamWriter writer,
SchemaContext schemaContext,
SchemaNode parentNode) |
Modifier and Type | Method and Description |
---|---|
static XmlParserStream |
XmlParserStream.create(NormalizedNodeStreamWriter writer,
SchemaContext schemaContext,
SchemaNode parentNode)
Utility method for use when caching
XmlCodecFactory is not feasible. |
static XmlParserStream |
XmlParserStream.create(NormalizedNodeStreamWriter writer,
XmlCodecFactory codecs,
SchemaNode parentNode)
Construct a new
XmlParserStream . |
Modifier and Type | Method and Description |
---|---|
SchemaNode |
SchemaTracker.startContainerNode(YangInstanceIdentifier.NodeIdentifier name) |
SchemaNode |
SchemaTracker.startYangModeledAnyXmlNode(YangInstanceIdentifier.NodeIdentifier name) |
Modifier and Type | Method and Description |
---|---|
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
SchemaNode schemaNode,
Object value) |
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
SchemaNode schemaNode,
Object value,
com.google.common.base.Optional<QNameModule> parent)
Write a value into a XML stream writer.
|
void |
XmlStreamUtils.writeValue(XMLStreamWriter writer,
SchemaNode schemaNode,
Object value,
QNameModule parent) |
Modifier and Type | Method and Description |
---|---|
static SchemaNode |
SchemaUtils.findChildSchemaByQName(SchemaNode node,
QName qname)
Deprecated.
|
static SchemaNode |
SchemaUtils.findDataChildSchemaByQName(SchemaNode node,
QName qname)
Find child data schema node identified by its QName within a provided
schema node.
|
static SchemaNode |
SchemaUtils.findDataParentSchemaOnPath(SchemaContext schemaContext,
SchemaPath path)
Finds schema node for given path in schema context.
|
static SchemaNode |
SchemaUtils.findParentSchemaOnPath(SchemaContext schemaContext,
SchemaPath path)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Collection<SchemaNode> |
SchemaUtils.findChildSchemaNodesByQName(SchemaNode node,
QName qname)
Find child schema node identified by its QName within a provided schema
node.
|
static Collection<SchemaNode> |
SchemaUtils.findParentSchemaNodesOnPath(SchemaContext schemaContext,
SchemaPath path)
Finds schema node for given path in schema context.
|
Modifier and Type | Method and Description |
---|---|
static SchemaNode |
SchemaUtils.findChildSchemaByQName(SchemaNode node,
QName qname)
Deprecated.
|
static Collection<SchemaNode> |
SchemaUtils.findChildSchemaNodesByQName(SchemaNode node,
QName qname)
Find child schema node identified by its QName within a provided schema
node.
|
static SchemaNode |
SchemaUtils.findDataChildSchemaByQName(SchemaNode node,
QName qname)
Find child data schema node identified by its QName within a provided
schema node.
|
Modifier and Type | Class and Description |
---|---|
class |
RpcAsContainer |
Constructor and Description |
---|
DataSchemaContextNode(T identifier,
SchemaNode schema) |
Modifier and Type | Interface and Description |
---|---|
interface |
ActionDefinition
Represents YANG action statement
The "action" statement is used to define an operation connected to a
specific container or list data node.
|
interface |
AnyDataSchemaNode
The "anydata" statement defines an interior node in the schema tree.
|
interface |
AnyXmlSchemaNode
The "anyxml" interface defines an interior node in the schema tree.
|
interface |
ChoiceCaseNode
The ChoiceCaseNode interface is used to define branches of the ChoiceNode.
|
interface |
ChoiceSchemaNode
A ChoiceSchemaNode defines a set of alternatives.
|
interface |
ContainerSchemaNode
The ContainerSchemaNode is used to define an interior data node in the schema
tree.
|
interface |
DataSchemaNode
Data Schema Node represents abstract supertype from which all data tree
definitions are derived.
|
interface |
DerivableSchemaNode
Schema Node which may be derived from other schema node
using augmentation or uses statement.
|
interface |
ExtensionDefinition
Contains the methods for getting the data which are part of the YANG
extensoion statement. |
interface |
FeatureDefinition
Interface describing YANG 'feature' statement.
|
interface |
GroupingDefinition
Interface describing YANG 'grouping' statement.
|
interface |
IdentitySchemaNode
Interface describing YANG 'identity' statement.
|
interface |
LeafListSchemaNode
Interface describing YANG 'leaf-list' statement.
|
interface |
LeafSchemaNode
Interface describing YANG
leaf statement. |
interface |
ListSchemaNode
Interface describing YANG 'list' statement.
|
interface |
NotificationDefinition
Interface describing YANG 'notification' statement.
|
interface |
OperationDefinition
Common interface for an operation
|
interface |
RpcDefinition
Interface describing YANG 'rpc' statement.
|
interface |
SchemaContext
The interface represents static view of compiled yang files,
contains the methods for obtaining all the top level context
data (data from all modules) like YANG notifications, extensions,
operations...
|
interface |
TypeDefinition<T extends TypeDefinition<?>>
YANG statement
typedef contains also substatements
default - default value which is compatible with
type ,
type - base type from which is typedef derived,
units - textual information about units associated with this
type.
This interface contains the methods for getting the values of the arguments
of substatements mentioned above. |
interface |
TypedSchemaNode
A
DataSchemaNode which holds values of the same type. |
interface |
UnknownSchemaNode
Contains the methods for getting the details about the unknown node.
|
interface |
YangDataSchemaNode
Represents 'yang-data' extension statement defined in https://tools.ietf.org/html/rfc8040#section-8
This statement must appear as a top-level statement, otherwise it is ignored and does not appear in the final
schema context.
|
interface |
YangModeledAnyXmlSchemaNode
The "YangModeledAnyXml" interface defines an interior node in the schema tree.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<? extends SchemaNode> |
DerivableSchemaNode.getOriginal()
If this node is added by uses, returns original node definition from
grouping where it was defined.
|
Map<SchemaPath,SchemaNode> |
UsesNode.getRefines()
Some of the properties of each node in the grouping can be refined with
the "refine" statement.
|
Modifier and Type | Interface and Description |
---|---|
interface |
BinaryTypeDefinition
The binary built-in type represents any binary data, i.e., a sequence of
octets.
|
interface |
BitsTypeDefinition
Makes is possible to access to the individual bits values of this type.
|
static interface |
BitsTypeDefinition.Bit
Contains the methods for accessing the data about the individual bit of
bits YANG type. |
interface |
BooleanTypeDefinition
Marker interface which marks that type definition represents the built-in
YANG
boolean type. |
interface |
DecimalTypeDefinition
Contains methods for getting data from the YANG
type
substatement for decimal64 built-in type. |
interface |
EmptyTypeDefinition |
interface |
EnumTypeDefinition
Makes is possible to access to the individual enumeration values of this
type.
|
interface |
IdentityrefTypeDefinition
Contains method for getting data from
identityref built-in YANG
type. |
interface |
IdentityTypeDefinition
Contains the method for getting the details about YANG
identity . |
interface |
InstanceIdentifierTypeDefinition
Contains methods for getting data from the
instance-identifier YANG built-in type. |
interface |
IntegerTypeDefinition
IntegerTypeDefinition is interface which represents SIGNED Integer values defined in Yang language.
|
interface |
LeafrefTypeDefinition |
interface |
RequireInstanceRestrictedTypeDefinition<T extends TypeDefinition<T>>
Interface for
TypeDefinition s which can be restricted through a require-instance statement. |
interface |
StringTypeDefinition
Contains method for getting data from the
string YANG built-in
type. |
interface |
UnionTypeDefinition
Contains the method which access union item in the union type.
|
interface |
UnknownTypeDefinition |
interface |
UnsignedIntegerTypeDefinition
Contains the method for getting detail data about unsigned integer.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSchemaContext |
class |
FilteringSchemaContextProxy |
Modifier and Type | Method and Description |
---|---|
static SchemaNode |
SchemaContextUtil.findDataSchemaNode(SchemaContext context,
Module module,
RevisionAwareXPath nonCondXPath)
Method attempts to find DataSchemaNode inside of provided Schema Context
and Yang Module accordingly to Non-conditional Revision Aware XPath.
|
static SchemaNode |
SchemaContextUtil.findDataSchemaNode(SchemaContext context,
SchemaPath schemaPath)
Method attempts to find DataSchemaNode in Schema Context via specified
Schema Path.
|
static SchemaNode |
SchemaContextUtil.findDataSchemaNodeForRelativeXPath(SchemaContext context,
Module module,
SchemaNode actualSchemaNode,
RevisionAwareXPath relativeXPath)
Method attempts to find DataSchemaNode inside of provided Schema Context
and Yang Module accordingly to Non-conditional relative Revision Aware
XPath.
|
static SchemaNode |
SchemaContextUtil.findNodeInSchemaContext(SchemaContext context,
Iterable<QName> path) |
static SchemaNode |
SchemaNodeUtils.getRootOriginalIfPossible(SchemaNode data) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<SchemaNode> |
SchemaNodeUtils.getOriginalIfPossible(SchemaNode node) |
Modifier and Type | Method and Description |
---|---|
static SchemaNode |
SchemaContextUtil.findDataSchemaNodeForRelativeXPath(SchemaContext context,
Module module,
SchemaNode actualSchemaNode,
RevisionAwareXPath relativeXPath)
Method attempts to find DataSchemaNode inside of provided Schema Context
and Yang Module accordingly to Non-conditional relative Revision Aware
XPath.
|
static Module |
SchemaContextUtil.findParentModule(SchemaContext context,
SchemaNode schemaNode)
Returns parent Yang Module for specified Schema Context in which Schema
Node is declared.
|
static TypeDefinition<?> |
SchemaContextUtil.getBaseTypeForLeafRef(LeafrefTypeDefinition typeDefinition,
SchemaContext schemaContext,
SchemaNode schema)
Extracts the base type of node on which schema node points to.
|
static com.google.common.base.Optional<SchemaNode> |
SchemaNodeUtils.getOriginalIfPossible(SchemaNode node) |
static SchemaNode |
SchemaNodeUtils.getRootOriginalIfPossible(SchemaNode data) |
Modifier and Type | Method and Description |
---|---|
protected <S extends SchemaNode> |
EffectiveStatementBase.firstSchemaNode(Class<S> type) |
Modifier and Type | Method and Description |
---|---|
SchemaNode |
RefineEffectiveStatementImpl.getRefineTargetNode() |
Modifier and Type | Method and Description |
---|---|
Map<SchemaPath,SchemaNode> |
UsesEffectiveStatementImpl.getRefines() |
Modifier and Type | Class and Description |
---|---|
class |
ActionEffectiveStatementImpl |
class |
AnyDataEffectiveStatementImpl
YANG 1.1 AnyData effective statement implementation.
|
Copyright © 2018 OpenDaylight. All rights reserved.