Class ArrayFunctionSet.ArrayForEachPair

All Implemented Interfaces:
Callable, Function, GroundedValue, Item, Sequence
Enclosing class:
ArrayFunctionSet

public static class ArrayFunctionSet.ArrayForEachPair extends SystemFunction
Implementation of the function array:for-each-pair(array, array, function) => array
  • Constructor Details

    • ArrayForEachPair

      public ArrayForEachPair()
  • Method Details

    • call

      public ArrayItem call(XPathContext context, Sequence[] arguments) throws XPathException
      Description copied from interface: Function
      Invoke the function
      Parameters:
      context - the XPath dynamic evaluation context
      arguments - the actual arguments to be supplied
      Returns:
      the result of invoking the function
      Throws:
      XPathException - if a dynamic error occurs within the function