| Access | Constructor and Description |
|---|---|
| private | |
| public | TreeStatus(Object
the root node of the tree which will be used to construct a treepath from a
tree status string. rootNode)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private TreePath | Returns: a TreePath, or null if there is an error.Constructs TreePath from Status String. |
| private String | Returns: the status string.Constructs a status string from the path. |
| private String | Returns: the name of the node.node of a tree. treeNode)Get the object name of a tree node. |
| public TreePath | Returns: path.the status string of the TreePath statusString)Provides TreePath for a given status string. |
| public String | Returns: pathString.TreePath instance. path)Provides status string for a TreePath instance. |
| private List | Returns: a list of nodes, or null if there is an empty node.a tree path. path)Parses a string and lists all the nodes. |
| private Object | searchNode(Object obj, String searchStr)
An object is searched in the tree structure using the identifiers parsed earlier step. |
| rootNode | back to summary |
|---|---|
| private Object rootNode | |
| TreeStatus | back to summary |
|---|---|
| private TreeStatus() | |
| TreeStatus | back to summary |
|---|---|
| public TreeStatus(Object rootNode) Constructor.
| |
| generatePath | back to summary |
|---|---|
| private TreePath generatePath(String pathString) Constructs TreePath from Status String.
| |
| generatePathString | back to summary |
|---|---|
| private String generatePathString(TreePath path) Constructs a status string from the path.
| |
| getObjectName | back to summary |
|---|---|
| private String getObjectName(Object treeNode) Get the object name of a tree node. If the given node of the tree is a MapEntry, its key is used as node identifier; if it is an ArrayEntry, then its index is used as identifier.
| |
| getPathForString | back to summary |
|---|---|
| public TreePath getPathForString(String statusString) Provides TreePath for a given status string. In case of invalid string returns null. | |
| getStringForPath | back to summary |
|---|---|
| public String getStringForPath(TreePath path) Provides status string for a TreePath instance. | |
| parsePathString | back to summary |
|---|---|
| private List Parses a string and lists all the nodes. | |
| searchNode | back to summary |
|---|---|
| private Object searchNode(Object obj, String searchStr) An object is searched in the tree structure using the identifiers parsed earlier step. | |