Creates a node with the specified object as its value and
with the specified children. For the node to allow children,
the children-object must be an array of objects, a
Vector
, or a
Hashtable
-- even
if empty. Otherwise, the node is not
allowed to have children.
Parameters:
-
value - the
Object
that is the value for the
new node
-
children - an array of
Object
s, a
Vector
, or a
Hashtable
used to create the child nodes; if any other
object is specified, or if the value is
null
,
then the node is not allowed to have children