Interface PendingUpdateList


  • public interface PendingUpdateList
    A PendingUpdateList is created by updating expressions in XQuery Update.

    The implementation of this interface is in Saxon-SA.

    • Method Detail

      • apply

        void apply​(XPathContext context,
                   int validationMode)
            throws XPathException
        Apply the pending updates
        Parameters:
        context - the XPath dynamic evaluation context
        validationMode - the revalidation mode from the static context
        Throws:
        XPathException
      • getAffectedTrees

        java.util.Set getAffectedTrees()
        Get the root nodes of the trees that are affected by updates in the pending update list
        Returns:
        the root nodes of affected trees, as a Set
      • addPutAction

        void addPutAction​(NodeInfo node,
                          java.lang.String uri)
                   throws XPathException
        Add a put() action to the pending update list
        Parameters:
        node - (the first argument of put())
        uri - (the second argument of put())
        Throws:
        XPathException