The owner of the hierarchy may dispose of this object
using ::com::sun::star::lang::XComponent::dispose().
As this object owns its child elements and, recursively, the whole hierarchy,
any descendant elements obtained, directly or indirectly, from this object
will also be disposed. Disposing of the object does not affect a persistent
representation of the hierarchy.
When an implementation is obtained from a factory or provider, ownership
of it is usually transferred to the client. See the documentation
of the particular provider or factory service for details.
The provider of this object may still dispose of this object, when the
lifetime of the provider ends or if these objects represent
the root of only a fragment of an enclosing hierarchy and
this fragment is removed from the complete hierarchy by an outside source.
Clients may register an ::com::sun::star::lang::XEventListener
to be notified when the object is disposed for either cause.