Package | Description |
---|---|
org.opendaylight.yangtools.transform | |
org.opendaylight.yangtools.yang.data.api.schema |
Definition of normalized YANG DOM Model
Normalized DOM Model brings more direct mapping between YANG Model, DOM
representation of data
|
org.opendaylight.yangtools.yang.data.api.schema.stream | |
org.opendaylight.yangtools.yang.data.api.schema.tree | |
org.opendaylight.yangtools.yang.data.api.schema.tree.spi | |
org.opendaylight.yangtools.yang.data.api.schema.xpath | |
org.opendaylight.yangtools.yang.data.impl.codec.xml | |
org.opendaylight.yangtools.yang.data.impl.schema | |
org.opendaylight.yangtools.yang.data.impl.schema.builder.api | |
org.opendaylight.yangtools.yang.data.impl.schema.builder.impl | |
org.opendaylight.yangtools.yang.data.impl.schema.nodes | |
org.opendaylight.yangtools.yang.data.impl.schema.transform | |
org.opendaylight.yangtools.yang.data.impl.schema.transform.base.parser |
Modifier and Type | Method and Description |
---|---|
static NormalizedNode<?,?> |
NormalizedNodeTransformations.replaceQNameModules(NormalizedNode<?,?> original,
Map<QNameModule,QNameModule> mapping)
Returns a
NormalizedNode with QNameModules replaced by supplied mapping. |
static NormalizedNode<?,?> |
NormalizedNodeTransformations.replaceQNames(NormalizedNode<?,?> original,
Map<QName,QName> mapping)
Returns a
NormalizedNode with QNames replaced by supplied mapping. |
static NormalizedNode<?,?> |
NormalizedNodeTransformations.transformQNames(NormalizedNode<?,?> original,
com.google.common.base.Function<QName,QName> mapping) |
Modifier and Type | Method and Description |
---|---|
static NormalizedNode<?,?> |
NormalizedNodeTransformations.replaceQNameModules(NormalizedNode<?,?> original,
Map<QNameModule,QNameModule> mapping)
Returns a
NormalizedNode with QNameModules replaced by supplied mapping. |
static NormalizedNode<?,?> |
NormalizedNodeTransformations.replaceQNames(NormalizedNode<?,?> original,
Map<QName,QName> mapping)
Returns a
NormalizedNode with QNames replaced by supplied mapping. |
static NormalizedNode<?,?> |
NormalizedNodeTransformations.transformQNames(NormalizedNode<?,?> original,
com.google.common.base.Function<QName,QName> mapping) |
Modifier and Type | Interface and Description |
---|---|
interface |
NormalizedNodeContainer<I extends YangInstanceIdentifier.PathArgument,K extends YangInstanceIdentifier.PathArgument,V extends NormalizedNode<? extends K,?>>
Node which is not leaf, but has child
NormalizedNode s as its valzue. |
interface |
OrderedNodeContainer<V extends NormalizedNode<?,?>>
Normalized Node container which preserves user supplied ordering
and allows addressing of child elements by position.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AnyXmlNode
AN normalizedNode.
|
interface |
AugmentationNode
Data instance of
augment associated with parent node. |
interface |
ChoiceNode
Node representing data instance of
choice . |
interface |
ContainerNode
Data subtree with cardinality 0..1 in the context of parent node
Node which does not have value but contains valid
DataContainerChild nodes. |
interface |
DataContainerChild<K extends YangInstanceIdentifier.PathArgument,V>
Marker interface for direct children of
DataContainerNode . |
interface |
DataContainerNode<K extends YangInstanceIdentifier.PathArgument>
Abstract node which does not have value but contains valid
DataContainerChild nodes. |
interface |
LeafNode<T>
Leaf node with multiplicity 0..1
Leaf node has a value, but no child nodes in the data tree, schema
for leaf node and its value is described by
LeafSchemaNode . |
interface |
LeafSetEntryNode<T>
Leaf node with multiplicity 0...n
Leaf node has a value, but no child nodes in the data tree, schema
for leaf node and its value is described by
LeafListSchemaNode . |
interface |
LeafSetNode<T>
Node representing set of simple leaf nodes.
|
interface |
MapEntryNode
Instance of Map entry, this node does not contains value, but child nodes.
|
interface |
MapNode
Containment node, which contains
MapEntryNode of the same type, which may
be quickly retrieved using key. |
interface |
NormalizedNodeContainer<I extends YangInstanceIdentifier.PathArgument,K extends YangInstanceIdentifier.PathArgument,V extends NormalizedNode<? extends K,?>>
Node which is not leaf, but has child
NormalizedNode s as its valzue. |
interface |
OrderedLeafSetNode<T>
Leaf set node which preserves user-supplied ordering.
|
interface |
OrderedMapNode
Map node which preserves user-supplied ordering.
|
interface |
OrderedNodeContainer<V extends NormalizedNode<?,?>>
Normalized Node container which preserves user supplied ordering
and allows addressing of child elements by position.
|
interface |
UnkeyedListEntryNode
List entry node, which does not have value, but child nodes.
|
interface |
UnkeyedListNode
Containment node, which contains
UnkeyedListEntryNode of the same type, which may
be quickly retrieved using key. |
interface |
YangModeledAnyXmlNode
AnyXML node with schema of contained XML data.
|
Modifier and Type | Method and Description |
---|---|
static Map<NormalizedNode<?,?>,DuplicateEntry> |
NormalizedNodes.findDuplicates(NormalizedNode<?,?> node)
Find duplicate NormalizedNode instances within a subtree.
|
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> tree,
YangInstanceIdentifier path) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> rootNode,
YangInstanceIdentifier childPath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.getDirectChild(NormalizedNode<?,?> node,
YangInstanceIdentifier.PathArgument pathArg) |
Modifier and Type | Method and Description |
---|---|
static Map<NormalizedNode<?,?>,DuplicateEntry> |
NormalizedNodes.findDuplicates(NormalizedNode<?,?> node)
Find duplicate NormalizedNode instances within a subtree.
|
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(NormalizedNode<?,?> tree,
YangInstanceIdentifier path) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> rootNode,
YangInstanceIdentifier childPath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.getDirectChild(NormalizedNode<?,?> node,
YangInstanceIdentifier.PathArgument pathArg) |
static String |
NormalizedNodes.toStringTree(NormalizedNode<?,?> node)
Convert a data subtree under a node into a human-readable string format.
|
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
NormalizedNodes.findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
Modifier and Type | Method and Description |
---|---|
NormalizedNodeWriter |
NormalizedNodeWriter.write(NormalizedNode<?,?> node)
Iterate over the provided
NormalizedNode and emit write
events to the encapsulated NormalizedNodeStreamWriter . |
Modifier and Type | Method and Description |
---|---|
protected boolean |
NormalizedNodeWriter.writeChildren(Iterable<? extends NormalizedNode<?,?>> children)
Emit events for all children and then emit an endNode() event.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<NormalizedNode<?,?>> |
DataTreeCandidateNode.getDataAfter()
Return the after-image of data corresponding to the node.
|
com.google.common.base.Optional<NormalizedNode<?,?>> |
DataTreeCandidateNode.getDataBefore()
Return the before-image of data corresponding to the node.
|
com.google.common.base.Optional<NormalizedNode<?,?>> |
DataTreeSnapshotCursor.readNode(YangInstanceIdentifier.PathArgument child)
Read a particular node from the snapshot.
|
com.google.common.base.Optional<NormalizedNode<?,?>> |
SynchronizedDataTreeModification.readNode(YangInstanceIdentifier path) |
com.google.common.base.Optional<NormalizedNode<?,?>> |
DataTreeSnapshot.readNode(YangInstanceIdentifier path)
Read a particular node from the snapshot.
|
Modifier and Type | Method and Description |
---|---|
static DataTreeCandidateNode |
DataTreeCandidateNodes.fromNormalizedNode(NormalizedNode<?,?> node) |
static DataTreeCandidate |
DataTreeCandidates.fromNormalizedNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> node) |
void |
DataTreeModificationCursor.merge(YangInstanceIdentifier.PathArgument child,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
void |
SynchronizedDataTreeModification.merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data) |
void |
DataTreeModification.merge(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Merge the specified data with the currently-present data
at specified path.
|
void |
DataTreeModificationCursor.write(YangInstanceIdentifier.PathArgument child,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
void |
SynchronizedDataTreeModification.write(YangInstanceIdentifier path,
NormalizedNode<?,?> data) |
void |
DataTreeModification.write(YangInstanceIdentifier path,
NormalizedNode<?,?> data)
Replace the data at specified path with supplied data.
|
Modifier and Type | Method and Description |
---|---|
NormalizedNode<?,?> |
TreeNode.getData()
Get a read-only view of the underlying data.
|
Modifier and Type | Method and Description |
---|---|
static TreeNode |
TreeNodeFactory.createTreeNode(NormalizedNode<?,?> data,
Version version)
Create a new AbstractTreeNode from a data node.
|
static TreeNode |
TreeNodeFactory.createTreeNodeRecursively(NormalizedNode<?,?> data,
Version version)
Deprecated.
Use lazy node initialization via
TreeNodeFactory.createTreeNode(NormalizedNode, Version) . |
void |
MutableTreeNode.setData(NormalizedNode<?,?> data)
Set the data component of the node.
|
Modifier and Type | Method and Description |
---|---|
NormalizedNode<?,?> |
XPathDocument.getRootNode()
Return the root node of this document.
|
Modifier and Type | Method and Description |
---|---|
XPathDocument |
XPathSchemaContext.createDocument(NormalizedNode<?,?> documentRoot)
Create a new document context.
|
Modifier and Type | Method and Description |
---|---|
static Element |
XmlDocumentUtils.createElementFor(Document doc,
NormalizedNode<?,?> data) |
Modifier and Type | Method and Description |
---|---|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id)
Convert YangInstanceIdentifier into a normalized node structure
|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
NormalizedNode<?,?> deepestElement)
Convert YangInstanceIdentifier into a normalized node structure
|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
com.google.common.base.Optional<NormalizedNode<?,?>> deepestElement,
com.google.common.base.Optional<Map.Entry<QName,ModifyAction>> operation)
Convert YangInstanceIdentifier into a normalized node structure
|
NormalizedNode<?,?> |
NormalizedNodeResult.getResult() |
NormalizedNode<?,?> |
ResultAlreadySetException.getResultData() |
Modifier and Type | Method and Description |
---|---|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
NormalizedNode<?,?> deepestElement)
Convert YangInstanceIdentifier into a normalized node structure
|
protected void |
ImmutableNormalizedNodeStreamWriter.writeChild(NormalizedNode<?,?> child) |
Modifier and Type | Method and Description |
---|---|
static NormalizedNode<?,?> |
ImmutableNodes.fromInstanceId(SchemaContext ctx,
YangInstanceIdentifier id,
com.google.common.base.Optional<NormalizedNode<?,?>> deepestElement,
com.google.common.base.Optional<Map.Entry<QName,ModifyAction>> operation)
Convert YangInstanceIdentifier into a normalized node structure
|
Constructor and Description |
---|
ResultAlreadySetException(String message,
NormalizedNode<?,?> resultData) |
ResultAlreadySetException(String message,
NormalizedNode<?,?> resultData,
Throwable cause) |
Modifier and Type | Class and Description |
---|---|
protected static class |
ImmutableContainerNodeBuilder.ImmutableContainerNode |
protected static class |
ImmutableLeafSetNodeBuilder.ImmutableLeafSetNode<T> |
protected static class |
ImmutableMapNodeBuilder.ImmutableMapNode |
protected static class |
ImmutableOrderedLeafSetNodeBuilder.ImmutableOrderedLeafSetNode<T> |
protected static class |
ImmutableOrderedMapNodeBuilder.ImmutableOrderedMapNode |
protected static class |
ImmutableUnkeyedListEntryNodeBuilder.ImmutableUnkeyedListEntryNode |
protected static class |
ImmutableUnkeyedListNodeBuilder.EmptyImmutableUnkeyedListNode |
protected static class |
ImmutableUnkeyedListNodeBuilder.ImmutableUnkeyedListNode |
Modifier and Type | Class and Description |
---|---|
class |
AbstractImmutableDataContainerAttrNode<K extends YangInstanceIdentifier.PathArgument> |
class |
AbstractImmutableDataContainerNode<K extends YangInstanceIdentifier.PathArgument> |
class |
AbstractImmutableNormalizedNode<K extends YangInstanceIdentifier.PathArgument,V> |
class |
AbstractImmutableNormalizedValueAttrNode<K extends YangInstanceIdentifier.PathArgument,V> |
class |
AbstractImmutableNormalizedValueNode<K extends YangInstanceIdentifier.PathArgument,V> |
Modifier and Type | Interface and Description |
---|---|
interface |
FromNormalizedNodeSerializer<E,N extends NormalizedNode<?,?>,S>
Generic serializer for normalized nodes.
|
interface |
ToNormalizedNodeParser<E,N extends NormalizedNode<?,?>,S>
Generic parser for normalized nodes.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtensibleParser<P extends YangInstanceIdentifier.PathArgument,E,N extends NormalizedNode<P,?>,S>
Extensible parser allows its subclasses to customize the building process of normalized nodes
|
static interface |
ExtensibleParser.BuildingStrategy<P extends YangInstanceIdentifier.PathArgument,N extends NormalizedNode<P,?>>
Building strategy serves as a set of hooks into the parsing process.
|
class |
ListNodeBaseParser<E,N extends NormalizedNode<?,?>,O extends NormalizedNode<YangInstanceIdentifier.NodeIdentifier,?>,S extends ListSchemaNode>
Abstract(base) parser for ListNodes (MapNode, UnkeyedListNode), parses elements of type E.
|
class |
ListNodeBaseParser<E,N extends NormalizedNode<?,?>,O extends NormalizedNode<YangInstanceIdentifier.NodeIdentifier,?>,S extends ListSchemaNode>
Abstract(base) parser for ListNodes (MapNode, UnkeyedListNode), parses elements of type E.
|
static class |
ListNodeBaseParser.SimpleListNodeBuildingStrategy<O extends NormalizedNode<YangInstanceIdentifier.NodeIdentifier,?>> |
Copyright © 2017 OpenDaylight. All rights reserved.