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 Summary Class Description PredicatesThis non-instantiable class provides a number of useful implementations of the
Predicateinterface, designed for use when navigating streams of XDM items.
Step<T extends XdmItem>A
Stepis a function that can be applied to an item to return a stream of items.
StepsThis non-instantiable class provides a number of useful implementations of the
Stepinterface, used to navigate XDM trees, typically as an argument to
XdmCollectorsThis class contains a number of static methods that deliver implementations of the
Collectorinterface suitable for use with streams processing XDM nodes and other items.
XdmStream<T extends XdmItem>
XdmStreamextends the capabilities of the standard JDK
Exception Summary Exception Description XdmCollectors.MultipleItemException