See: Description
Class | Description |
---|---|
Predicates |
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. |
Steps |
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(net.sf.saxon.s9api.streams.Step<T>) . |
XdmCollectors |
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. |
XdmStream<T extends XdmItem> |
XdmStream extends the capabilities of the standard JDK Stream class. |
Exception | Description |
---|---|
XdmCollectors.MultipleItemException |
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. |
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.
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.