|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.saxonica.update.PendingUpdateListImpl
public class PendingUpdateListImpl
Concrete implementation of the Pending Update List
Constructor Summary | |
---|---|
PendingUpdateListImpl(Configuration config)
Create a Pending Update List |
Method Summary | |
---|---|
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 |
getAffectedTrees()
Get the root nodes of the trees that are affected by updates in the pending update list |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PendingUpdateListImpl(Configuration config)
Method Detail |
---|
public void add(PendingUpdateAction action) throws XPathException
action
- the Pending Update Action to be added to the list
XPathException
- 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 PendingUpdateList
node
- (the first argument of put())uri
- (the second argument of put())originator
- the originating put() expression, for diagnostics
XPathException
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 context
XPathException
public Set getAffectedTrees()
getAffectedTrees
in interface PendingUpdateList
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |