net.sf.saxon.tree.util

## Class SteppingNavigator

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

-     public class SteppingNavigator
      extends Object

  The SteppingNavigator is a utility class containing methods to assist with navigating a tree whose nodes implement the `SteppingNode` interface

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `SteppingNavigator.DescendantAxisIterator` An iterator over the descendant or descendant-or-self axis

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `SteppingNavigator()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static SteppingNode` | `getFollowingNode(SteppingNode start, SteppingNode anchor)` Get the next following node after a given node

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SteppingNavigator

          public SteppingNavigator()

  - ### Method Detail

    - #### getFollowingNode

          public static SteppingNode getFollowingNode(SteppingNode start,
                                      SteppingNode 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

Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.