Class AxisStep

    • Constructor Detail

      • AxisStep

        public AxisStep​(Axis axis)
    • Method Detail

      • apply

        public 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.