Interface AxisIterator

    • Method Detail

      • moveNext

        boolean moveNext()
        Move to the next node, without returning it. Returns true if there is a next node, false if the end of the sequence has been reached. After calling this method, the current node may be retrieved using the current() function.
      • iterateAxis

        AxisIterator iterateAxis​(byte axis,
                                 NodeTest test)
        Return an iterator over an axis, starting at the current node.
        Parameters:
        axis - the axis to iterate over, using a constant such as Axis.CHILD
        test - a predicate to apply to the nodes before returning them.
        Throws:
        java.lang.NullPointerException - if there is no current node
      • atomize

        Value atomize()
               throws XPathException
        Return the atomized value of the current node.
        Returns:
        the atomized value.
        Throws:
        java.lang.NullPointerException - if there is no current node
        XPathException
      • getStringValue

        java.lang.CharSequence getStringValue()
        Return the string value of the current node.
        Returns:
        the string value, as an instance of CharSequence.
        Throws:
        java.lang.NullPointerException - if there is no current node