public final class NodeStateUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static @NotNull NodeState |
getNode(@NotNull NodeState node,
@NotNull java.lang.String path)
Get a possibly non existing child node of a node.
|
static @Nullable java.lang.String |
getPrimaryTypeName(NodeState nodeState) |
static boolean |
isHidden(@NotNull java.lang.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 java.lang.String path)
Check whether the given path contains a hidden node.
|
static java.lang.String |
toString(NodeState node)
Provides a string representation of the given node state
|
public static boolean isHidden(@NotNull
@NotNull java.lang.String name)
name - the node or property namepublic static boolean isHiddenPath(@NotNull
@NotNull java.lang.String path)
path - the path@Nullable public static @Nullable java.lang.String getPrimaryTypeName(NodeState nodeState)
@NotNull public static @NotNull NodeState getNode(@NotNull @NotNull NodeState node, @NotNull @NotNull java.lang.String path)
node - node whose child node to getpath - path of the child nodenode at path.public static java.lang.String toString(NodeState node)
node - node statenode.Copyright © 2010 - 2023 Adobe. All Rights Reserved