Class AncestorNodeLocator

  • All Implemented Interfaces:
    NodeLocator

    public class AncestorNodeLocator
    extends AbstractNodeLocator
    This NodeLocator identifies an ancestor of the source node.

    The node returned can be of a specific type and/or have a specific aspect applied.

    If no parameters are passed the immediate primary parent is returned.

    Since:
    4.0
    Author:
    Nick Smith