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
|
Constructor Summary |
Insert(DBBroker broker,
DocumentSet docs,
java.lang.String selectStmt,
int mode,
java.util.Map namespaces,
java.util.Map variables)
|
Insert(DBBroker broker,
DocumentSet docs,
java.lang.String selectStmt,
java.util.Map namespaces,
java.util.Map variables)
Constructor for Insert. |
|
Method Summary |
java.lang.String |
getName()
|
long |
process(Txn transaction)
Process the modification. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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,
java.lang.String selectStmt,
java.util.Map namespaces,
java.util.Map variables)
- Constructor for Insert.
- Parameters:
selectStmt -
Insert
public Insert(DBBroker broker,
DocumentSet docs,
java.lang.String selectStmt,
int mode,
java.util.Map namespaces,
java.util.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
- Returns:
-
- Throws:
EXistException
LockException
XPathException
PermissionDeniedException- See Also:
org.exist.xupdate.Modification#process(org.exist.dom.DocumentSet)
getName
public java.lang.String getName()
- Specified by:
getName in class Modification
- See Also:
Modification.getName()
<oXygen/>
XML Editor
provides support for editing and debugging XQuery
expressions against the eXist XML Database.