Class ArrayFunctionSet.ArrayFromSequence

    • Constructor Detail

      • ArrayFromSequence

        public ArrayFromSequence()
    • Method Detail

      • call

        public ArrayItem call​(XPathContext context,
                              Sequence[] arguments)
                       throws XPathException
        Description copied from class: FoldingFunction
        Evaluate the expression
        Specified by:
        call in interface Callable
        Overrides:
        call in class FoldingFunction
        Parameters:
        context - the dynamic evaluation context
        arguments - the values of the arguments, supplied as Sequences
        Returns:
        the result of the evaluation, in the form of a Sequence
        Throws:
        XPathException - if a dynamic error occurs during the evaluation of the expression
      • getFold

        public Fold getFold​(XPathContext context,
                            Sequence... additionalArguments)
        Create the Fold object which is used to perform a streamed evaluation
        Specified by:
        getFold in class FoldingFunction
        Parameters:
        context - the dynamic evaluation context
        additionalArguments - the values of all arguments other than the first.
        Returns:
        the Fold object used to compute the function