public interface UpdateAgent
Modifier and Type | Method and Description |
---|---|
void |
update(NodeInfo node,
Controller controller)
Handle an updated document.
|
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 updatedcontroller
- the Controller that was used for executing the queryXPathException
- if the callback code cannot handle the updated documentCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.