org.exist.xupdate
Class Insert
java.lang.Object
org.exist.xupdate.Modification
org.exist.xupdate.Insert
public class Insert
- extends Modification
Implements an XUpdate insert-after or insert-before modification.
- Author:
- Wolfgang Meier
INSERT_BEFORE
public static final int INSERT_BEFORE
- See Also:
- Constant Field Values
INSERT_AFTER
public static final int INSERT_AFTER
- See Also:
- Constant Field Values
Insert
public Insert(DBBroker broker,
DocumentSet docs,
String selectStmt,
Map namespaces,
Map variables)
- Constructor for Insert.
- Parameters:
broker
- docs
- namespaces
- variables
- selectStmt
-
Insert
public Insert(DBBroker broker,
DocumentSet docs,
String selectStmt,
int mode,
Map namespaces,
Map 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
- See Also:
Modification.process(org.exist.storage.txn.Txn)
getName
public String getName()
- Specified by:
getName
in class Modification
- See Also:
Modification.getName()
Copyright (C) Wolfgang Meier. All rights reserved.