Class Sort_3

All Implemented Interfaces:
Callable, FunctionItem, GroundedValue, Item, Sequence

public class Sort_3 extends Sort_2
This class implements the function fn:sort#2, which is a higher-order function in XPath 3.1 available only in Saxon-PE and above
  • Constructor Details

    • Sort_3

      public Sort_3()
  • Method Details

    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate the expression
      Specified by:
      call in interface Callable
      Overrides:
      call in class Sort_2
      Parameters:
      context - the dynamic evaluation context
      arguments - the values of the arguments, supplied as SequenceIterators
      Returns:
      the result of the evaluation, in the form of a SequenceIterator
      Throws:
      XPathException - if a dynamic error occurs during the evaluation of the expression