The SPI interface for constructing different hierarchy.
It is used by the BPEL mapper for building left and right trees.
An external code can provide an instance of such interface
to show required tree.
author: nk160297
Returns the root of the tree. Returns null
only if the tree has no nodes.
It is not guaranteed that repeated call will return the same object.
the root of the tree