David Rauschenbach wrote:
3. Per Julian's other suggestion, I also support the notion of returning
MORE data, like number of children, or an IMAP-like \hasChildren flag
for Nodes, in case an SPI wanted to declare that a node definitely has
no children (so don't ask), or that there are children, but finding out
how many is going to cost you.

I think this can be achieved with the NodeInfo.getChildInfos(). If an implementation was to set a \hasChildren flag to false it simply returns an empty array.

regards
 marcel

Reply via email to