org.exist.xupdate
Class Replace
java.lang.Object
org.exist.xupdate.Modification
org.exist.xupdate.Replace
public class Replace
- extends Modification
Implements xupdate:replace, an extension to the XUpdate standard.
The modification replaces a node and its contents. It differs from xupdate:update
which only replaces the contents of the node, not the node itself.
- Author:
- wolf
Replace
public Replace(DBBroker broker,
DocumentSet docs,
String selectStmt,
Map namespaces,
Map variables)
- Parameters:
broker
- docs
- selectStmt
- namespaces
- variables
-
process
public long process(Txn transaction)
throws PermissionDeniedException,
LockException,
EXistException,
XPathException
- Description copied from class:
Modification
- Process the modification. This is the main method that has to be implemented
by all subclasses.
- Specified by:
process
in class Modification
- Throws:
PermissionDeniedException
LockException
EXistException
XPathException
getName
public String getName()
- Specified by:
getName
in class Modification
Copyright (C) Wolfgang Meier. All rights reserved.