@FunctionalInterface public interface UpdateAgent
void update(NodeInfo node, Controller controller) throws XPathException
XQueryExpression.runUpdate(DynamicQueryContext, UpdateAgent)once for each document (or more generally, for the root of each tree) that has been modified by the update query.
node- the root of the tree that has been updated
controller- the Controller that was used for executing the query
XPathException- if the callback code cannot handle the updated document
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.