Package net.sf.saxon.tree.util
Class SteppingNavigator
- java.lang.Object
-
- net.sf.saxon.tree.util.SteppingNavigator
-
public abstract class SteppingNavigator extends java.lang.Object
The SteppingNavigator is a utility class containing methods to assist with navigating a tree whose nodes implement theSteppingNode
interface
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SteppingNavigator.DescendantAxisIterator<N extends SteppingNode<N>>
An iterator over the descendant or descendant-or-self axis
-
Constructor Summary
Constructors Constructor Description SteppingNavigator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static <N extends SteppingNode<N>>
NgetFollowingNode(N start, N anchor)
Get the next following node after a given node
-
-
-
Method Detail
-
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 nodeanchor
- 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
-
-