Class ArraySortBy

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

public class ArraySortBy extends SystemFunction
This class implements the function array:sort-by, which is a proposed function in XPath 4.0
  • Field Details

    • keyFunctionType

      public static final FunctionItemType keyFunctionType
    • sortKeyRecord

      public static RecordType sortKeyRecord
    • dataFn

      public static Callable dataFn
    • keyDefinition

      public static Shape keyDefinition
  • Constructor Details

    • ArraySortBy

      public ArraySortBy()
  • Method Details

    • call

      public Sequence call(XPathContext context, Sequence[] arguments) throws XPathException
      Evaluate the expression
      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