org.basex.core.proc
Class Update

java.lang.Object
  extended by org.basex.core.Progress
      extended by org.basex.core.AbstractProcess
          extended by org.basex.core.Process
              extended by org.basex.core.proc.Update

public final class Update
extends Process

Updates an element in database.

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

Field Summary
 
Fields inherited from class org.basex.core.Process
args
 
Constructor Summary
Update(boolean g, Commands.CmdUpdate t, java.lang.String... a)
          Constructor for GUI updates.
Update(Commands.CmdUpdate t, java.lang.String... a)
          Constructor.
 
Method Summary
static boolean check(byte[] name)
          Checks the validity of the specified name.
 java.lang.String toString()
           
 
Methods inherited from class org.basex.core.Process
args, data, error, execute, execute, info, info, info, name, output, printing, result, updating
 
Methods inherited from class org.basex.core.Progress
checkStop, det, detail, prog, progress, progress, stop, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Update

public Update(Commands.CmdUpdate t,
              java.lang.String... a)
Constructor.

Parameters:
t - update type
a - arguments

Update

public Update(boolean g,
              Commands.CmdUpdate t,
              java.lang.String... a)
Constructor for GUI updates.

Parameters:
g - gui flag
t - update type
a - arguments
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Process

check

public static boolean check(byte[] name)
Checks the validity of the specified name.

Parameters:
name - name to be checked
Returns:
result of check