org.basex.core.proc
Class Delete

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.Proc
          extended by org.basex.core.proc.Delete

public final class Delete
extends Proc

Evaluates the 'delete' command and deletes a document from a collection.

Author:
Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.Proc
DATAREF, flags, STANDARD
 
Constructor Summary
Delete(String input)
          Default constructor.
 
Method Summary
 boolean updating(Context ctx)
          Returns if the process performs updates.
 
Methods inherited from class org.basex.core.Proc
exec, exec, execute, execute, info, result, toString
 
Methods inherited from class org.basex.core.Progress
abort, checkStop, det, detail, prog, progress, progress, stop, tit, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Delete

public Delete(String input)
Default constructor.

Parameters:
input - input XML file or XML string
Method Detail

updating

public boolean updating(Context ctx)
Description copied from class: Proc
Returns if the process performs updates.

Overrides:
updating in class Proc
Parameters:
ctx - context reference
Returns:
result of check