public abstract class AbstractTree extends Object implements Tree
Constructor and Description |
---|
AbstractTree() |
Modifier and Type | Method and Description |
---|---|
abstract TreeNode[] |
getMainNodes() |
TreeNode |
getNodeByPath(String path)
Get a TreeNode given its path.
|
TreeNode[] |
getNodesByPath(String path)
Get all TreeNodes given their path.
|
protected List |
getPathList(String path) |
List |
getRootNodes()
Get the list of root nodes
|
protected TreeNode |
getSubnodeById(String id) |
public abstract TreeNode[] getMainNodes()
public List getRootNodes()
Tree
getRootNodes
in interface Tree
public TreeNode getNodeByPath(String path)
Tree
getNodeByPath
in interface Tree
path
- Tree path to resolvepublic TreeNode[] getNodesByPath(String path)
getNodesByPath
in interface Tree
path
- Tree path to resolveCopyright © 2012-2015 JBoss by Red Hat. All Rights Reserved.