Package | Description |
---|---|
org.opendaylight.yangtools.yang.data.api.schema.tree |
Modifier and Type | Method and Description |
---|---|
static DataTreeCandidateNode |
DataTreeCandidateNodes.empty(YangInstanceIdentifier.PathArgument identifier)
Return an empty
DataTreeCandidateNode identified by specified YangInstanceIdentifier.PathArgument . |
static DataTreeCandidateNode |
DataTreeCandidateNodes.fromNormalizedNode(NormalizedNode<?,?> node) |
DataTreeCandidateNode |
DataTreeCandidateNode.getModifiedChild(YangInstanceIdentifier.PathArgument identifier)
Returns modified child or null if child was not modified
/ does not exists.
|
DataTreeCandidateNode |
DataTreeCandidate.getRootNode()
Get the candidate tree root node.
|
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 DataTreeCandidate |
DataTreeCandidates.newDataTreeCandidate(YangInstanceIdentifier rootPath,
DataTreeCandidateNode rootNode) |
Copyright © 2018 OpenDaylight. All rights reserved.