Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.api.schema.tree |
Modifier and Type | Method and Description |
---|---|
static @Nullable DataTreeCandidateNode |
DataTreeCandidateNodes.containerDelta(@Nullable NormalizedNodeContainer<?,YangInstanceIdentifier.PathArgument,NormalizedNode<?,?>> oldData,
@Nullable NormalizedNodeContainer<?,YangInstanceIdentifier.PathArgument,NormalizedNode<?,?>> newData,
@NonNull YangInstanceIdentifier.PathArgument child)
Return a collection of
DataTreeCandidateNode s summarizing the change in a child, identified by a
YangInstanceIdentifier.PathArgument , between two NormalizedNodeContainer s. |
static @NonNull DataTreeCandidateNode |
DataTreeCandidateNodes.empty(YangInstanceIdentifier.PathArgument identifier)
Return an empty
DataTreeCandidateNode identified by specified YangInstanceIdentifier.PathArgument . |
static @NonNull DataTreeCandidateNode |
DataTreeCandidateNodes.fromNormalizedNode(NormalizedNode<?,?> node)
Deprecated.
|
DataTreeCandidateNode |
DataTreeCandidateNode.getModifiedChild(YangInstanceIdentifier.PathArgument childIdentifier)
Returns modified child or null if child was not modified
/ does not exists.
|
DataTreeCandidateNode |
DataTreeCandidate.getRootNode()
Get the candidate tree root node.
|
static @NonNull DataTreeCandidateNode |
DataTreeCandidateNodes.unmodified(NormalizedNode<?,?> node)
Return an unmodified
DataTreeCandidateNode identified by specified NormalizedNode . |
static @NonNull DataTreeCandidateNode |
DataTreeCandidateNodes.written(NormalizedNode<?,?> node)
Return a
DataTreeCandidateNode pretending specified node was written without the data exsting beforehand. |
Modifier and Type | Method and Description |
---|---|
Collection<DataTreeCandidateNode> |
DataTreeCandidateNode.getChildNodes()
Get an unmodifiable collection of modified child nodes.
|
Modifier and Type | Method and Description |
---|---|
static void |
DataTreeCandidateNodes.applyRootedNodeToCursor(DataTreeModificationCursor cursor,
YangInstanceIdentifier rootPath,
DataTreeCandidateNode node)
Applies the
node that is rooted(doesn't have an identifier) in tree A to tree B's cursor
at location specified by rootPath . |
static void |
DataTreeCandidateNodes.applyRootToCursor(DataTreeModificationCursor cursor,
DataTreeCandidateNode node) |
static void |
DataTreeCandidateNodes.applyToCursor(DataTreeModificationCursor cursor,
DataTreeCandidateNode node)
Applies the
node to the cursor , note that if the top node of (@code node} is RootNode
you need to use applyRootedNodeToCursor method that works with rooted node candidates. |
static @NonNull DataTreeCandidate |
DataTreeCandidates.newDataTreeCandidate(YangInstanceIdentifier rootPath,
DataTreeCandidateNode rootNode) |
Copyright © 2019 OpenDaylight. All rights reserved.