There are expandNode(String,boolean), expandNode(String), expand(), but no
collapseNode(String,boolean),collapseNode(String) or collapse(). I
suppose they would be rarely used, but seems like they should be there.
I submitted this as a bug/feature request, along with source code proposed
for implementation of collapseNode(String). The proposed code is
patterned on expandNode(String), except that collapse() is recursive, so
there is no need for a recursive collapseNode analagous to
expandNode(String,boolean) version.