public final class NodeStateUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull NodeState |
getNode(@NotNull NodeState node,
@NotNull String path)
Get a possibly non existing child node of a node.
|
static @Nullable String |
getPrimaryTypeName(NodeState nodeState) |
static boolean |
isHidden(@NotNull String name)
Check whether the node or property with the given name is hidden, that
is, if the node name starts with a ":".
|
static boolean |
isHiddenPath(@NotNull String path)
Check whether the given path contains a hidden node.
|
static String |
toString(NodeState node)
Provides a string representation of the given node state
|
public static boolean isHidden(@NotNull
@NotNull String name)
name - the node or property namepublic static boolean isHiddenPath(@NotNull
@NotNull String path)
path - the path@NotNull public static @NotNull NodeState getNode(@NotNull @NotNull NodeState node, @NotNull @NotNull String path)
node - node whose child node to getpath - path of the child nodenode at path.Copyright © 2012–2021 The Apache Software Foundation. All rights reserved.