public class PendingUpdateListImpl extends Object implements PendingUpdateList
| Constructor and Description |
|---|
PendingUpdateListImpl(Configuration config)
Create a Pending Update List
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(PendingUpdateAction action)
Add an action to the pending update list
|
void |
addPutAction(NodeInfo node,
String uri,
Expression originator)
Add a put() action to the pending update list
|
void |
apply(XPathContext context,
int validationMode)
Apply the pending updates
|
Set<MutableNodeInfo> |
getAffectedTrees()
Get the root nodes of the trees that are affected by updates in the pending update list
|
public PendingUpdateListImpl(Configuration config)
config - the Saxon configurationpublic void add(PendingUpdateAction action) throws XPathException
action - the Pending Update Action to be added to the listXPathException - if the pending update action conflicts with an action that is already on the listpublic void addPutAction(NodeInfo node, String uri, Expression originator) throws XPathException
addPutAction in interface PendingUpdateListnode - (the first argument of put())uri - (the second argument of put())originator - the originating put() expression, for diagnosticsXPathExceptionpublic void apply(XPathContext context, int validationMode) throws XPathException
apply in interface PendingUpdateListcontext - the XPath dynamic evaluation contextvalidationMode - the revalidation mode from the static contextXPathExceptionpublic Set<MutableNodeInfo> getAffectedTrees()
getAffectedTrees in interface PendingUpdateListCopyright (c) 2004-2013 Saxonica Limited. All rights reserved.