public interface Branch extends Node
Modifier and Type | Method and Description |
---|---|
Node |
createNode(java.lang.String name)
Attempts to construct a new node in the context of this one.
|
Node[] |
getChildren()
Returns the array of child nodes belonging to this branch.
|
Node[] getChildren()
Node createNode(java.lang.String name)
Leaf.getOutputStream()
call may do so.
The returned node will typically be a child of this branch,
but need not be, for instance if name
is interpreted as an
absolute path.
If the named node cannot be created, null
may be returned.
name
- name of a node in the context of this branch