public final class NodeStateUtils
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static NodeState |
getNode(NodeState node,
java.lang.String path)
Get a possibly non existing child node of a node.
|
static java.lang.String |
getPrimaryTypeName(NodeState nodeState) |
static boolean |
isHidden(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(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(java.lang.String name)
name
- the node or property namepublic static boolean isHiddenPath(java.lang.String path)
path
- the pathpublic static java.lang.String getPrimaryTypeName(NodeState nodeState)
public static NodeState getNode(NodeState node, 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 - 2020 Adobe Systems Incorporated. All Rights Reserved"