Class SteppingNavigator

java.lang.Object
net.sf.saxon.tree.util.SteppingNavigator

public abstract class SteppingNavigator extends Object
The SteppingNavigator is a utility class containing methods to assist with navigating a tree whose nodes implement the SteppingNode interface
  • Constructor Details

    • SteppingNavigator

      public SteppingNavigator()
  • Method Details

    • getFollowingNode

      static <N extends SteppingNode<N>> N getFollowingNode(N start, N anchor)
      Get the next following node after a given node
      Parameters:
      start - the starting node
      anchor - the node whose descendants are being scanned; the scan terminates when the anchor node is reached
      Returns:
      the next node in document order after the starting node, excluding attributes and namespaces; or null if no such node is found