@Beta public final class NormalizedNodes extends Object
NormalizedNode
objects.Modifier and Type | Method and Description |
---|---|
static Map<NormalizedNode<?,?>,DuplicateEntry> |
findDuplicates(NormalizedNode<?,?> node)
Find duplicate NormalizedNode instances within a subtree.
|
static com.google.common.base.Optional<NormalizedNode<?,?>> |
findNode(NormalizedNode<?,?> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
findNode(NormalizedNode<?,?> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
findNode(NormalizedNode<?,?> tree,
YangInstanceIdentifier path) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent,
Iterable<YangInstanceIdentifier.PathArgument> relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent,
YangInstanceIdentifier.PathArgument... relativePath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
findNode(YangInstanceIdentifier rootPath,
NormalizedNode<?,?> rootNode,
YangInstanceIdentifier childPath) |
static com.google.common.base.Optional<NormalizedNode<?,?>> |
getDirectChild(NormalizedNode<?,?> node,
YangInstanceIdentifier.PathArgument pathArg) |
static String |
toStringTree(NormalizedNode<?,?> node)
Convert a data subtree under a node into a human-readable string format.
|
public static com.google.common.base.Optional<NormalizedNode<?,?>> findNode(YangInstanceIdentifier rootPath, NormalizedNode<?,?> rootNode, YangInstanceIdentifier childPath)
public static com.google.common.base.Optional<NormalizedNode<?,?>> findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent, Iterable<YangInstanceIdentifier.PathArgument> relativePath)
public static com.google.common.base.Optional<NormalizedNode<?,?>> findNode(com.google.common.base.Optional<NormalizedNode<?,?>> parent, YangInstanceIdentifier.PathArgument... relativePath)
public static com.google.common.base.Optional<NormalizedNode<?,?>> findNode(NormalizedNode<?,?> parent, Iterable<YangInstanceIdentifier.PathArgument> relativePath)
public static com.google.common.base.Optional<NormalizedNode<?,?>> findNode(NormalizedNode<?,?> parent, YangInstanceIdentifier.PathArgument... relativePath)
public static com.google.common.base.Optional<NormalizedNode<?,?>> findNode(NormalizedNode<?,?> tree, YangInstanceIdentifier path)
public static com.google.common.base.Optional<NormalizedNode<?,?>> getDirectChild(NormalizedNode<?,?> node, YangInstanceIdentifier.PathArgument pathArg)
public static String toStringTree(NormalizedNode<?,?> node)
node
- Data subtree rootpublic static Map<NormalizedNode<?,?>,DuplicateEntry> findDuplicates(@Nonnull NormalizedNode<?,?> node)
node
- A normalized node subtree, may not be nullCopyright © 2017 OpenDaylight. All rights reserved.