org.exist.xupdate
Class Append

java.lang.Object
  extended by org.exist.xupdate.Modification
      extended by org.exist.xupdate.Append

public class Append
extends Modification

Implements an XUpate append statement. Note: appending an attribute that is already present in an element will overwrite the old attribute value.

Author:
Wolfgang Meier

Constructor Summary
Append(DBBroker broker, DocumentSet docs, String selectStmt, String childAttr, Map namespaces, Map variables)
          Constructor for Append.
 
Method Summary
 String getName()
           
 long process(Txn transaction)
          Process the modification.
 
Methods inherited from class org.exist.xupdate.Modification
getAccessContext, setAccessContext, setContent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Append

public Append(DBBroker broker,
              DocumentSet docs,
              String selectStmt,
              String childAttr,
              Map namespaces,
              Map variables)
Constructor for Append.

Parameters:
selectStmt -
Method Detail

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.