public class PendingUpdateListImpl extends java.lang.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,
java.lang.String uri,
Expression originator)
Add a put() action to the pending update list
|
void |
apply(XPathContext context,
int validationMode)
Apply the pending updates
|
java.util.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, java.lang.String uri, Expression originator) throws XPathException
addPutAction
in interface PendingUpdateList
node
- (the first argument of put())uri
- (the second argument of put())originator
- the originating put() expression, for diagnosticsXPathException
public void apply(XPathContext context, int validationMode) throws XPathException
apply
in interface PendingUpdateList
context
- the XPath dynamic evaluation contextvalidationMode
- the revalidation mode from the static contextXPathException
public java.util.Set<MutableNodeInfo> getAffectedTrees()
getAffectedTrees
in interface PendingUpdateList
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.