Package net.sf.saxon.s9api.streams


package net.sf.saxon.s9api.streams

This package provides methods to manipulate XDM values using Java 8 streams. It provides an alternative to XPath navigation of XDM trees, avoiding the high parsing cost and poor compile-time diagnostics of XPath expressions, while being a much higher-level interface than DOM-style navigation from node to node.

  • Class
    Description
    An AxisStep is a Step that implements one of the 13 XPath Axes.
    This non-instantiable class provides a number of useful implementations of the Predicate interface, designed for use when navigating streams of XDM items.
    Step<T extends XdmItem>
    A Step is a function that can be applied to an item to return a stream of items.
    This non-instantiable class provides a number of useful implementations of the Step interface, used to navigate XDM trees, typically as an argument to XdmValue.select(Step).
    This class contains a number of static methods that deliver implementations of the Collector interface suitable for use with streams processing XDM nodes and other items.
    Unchecked exception that occurs when a collector method such as XdmCollectors.asAtomic() or XdmCollectors.asOptionalNode() is called, and the sequence contains more than one item.
    XdmStream<T extends XdmItem>
    XdmStream extends the capabilities of the standard JDK Stream class.