getAncestor

The default implementation handles the root node at depth zero and
this item at depth equal to the depth of this item as special cases,
and uses Session.getItem(String) to retrieve other
ancestors based on the ancestor path calculated from the path of this
node as returned by Item.getPath().