Package net.sf.saxon.s9api.streams
Class AxisStep
- java.lang.Object
-
- net.sf.saxon.s9api.streams.Step<XdmNode>
-
- net.sf.saxon.s9api.streams.AxisStep
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<? extends XdmNode>
apply(XdmItem node)
Apply this function to the given argument.
-
-
-
Constructor Detail
-
AxisStep
public AxisStep(Axis axis)
-
-
Method Detail
-
apply
public java.util.stream.Stream<? extends XdmNode> apply(XdmItem node)
Apply this function to the given argument. In other words, return a stream of nodes selected by this XPath axis, starting at the supplied origin- Parameters:
node
- the origin node for the navigation- Returns:
- the stream of nodes selected by the axis. The nodes are returned in Axis order (for a reverse axis like preceding-sibling or ancestor, this is the reverse of document order). If the supplied argument is not a node, return an empty stream.
-
-