Interface UpdateEvaluator

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface UpdateEvaluator
    Interface implemented by XQuery Update expressions, to evaluate an update expression by adding update primitives to a supplied pending update list.
    • Method Detail

      • registerUpdates

        void registerUpdates​(XPathContext context,
                             PendingUpdateList updates)
                      throws XPathException
        Add update primitives to a pending update list
        Parameters:
        context - The XPath evaluation context
        updates - The pending update list
        Throws:
        XPathException - in the event of a dynamic error