Interface CallableExpression

    • Method Detail

      • getArguments

        Expression[] getArguments()
        Get the subexpressions (arguments to this expression)
        Returns:
        the arguments, as an array
      • call

        SequenceIterator<? extends Item> call​(SequenceIterator<? extends Item>[] arguments,
                                              XPathContext context)
                                       throws XPathException
        Evaluate the expression
        Parameters:
        arguments - the values of the arguments, supplied as SequenceIterators
        context - the dynamic evaluation context
        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