org.basex.core.cmd
Class XQuery

java.lang.Object
  extended by org.basex.core.Proc
      extended by org.basex.core.Command
          extended by org.basex.core.cmd.AQuery
              extended by org.basex.core.cmd.XQuery

public final class XQuery
extends AQuery

Evaluates the 'xquery' command and processes an XQuery request.

Author:
BaseX Team 2005-12, BSD License, Christian Gruen

Field Summary
 
Fields inherited from class org.basex.core.cmd.AQuery
result
 
Fields inherited from class org.basex.core.Command
args, context, in, mprop, out, perf, prop
 
Fields inherited from class org.basex.core.Proc
listen, updating
 
Constructor Summary
XQuery(java.lang.String query)
          Default constructor.
 
Method Summary
protected  boolean run()
          Executes the command and serializes the result (internal call).
 
Methods inherited from class org.basex.core.cmd.AQuery
build, databases, query, queryNodes, result, stoppable, updated, updating, updating
 
Methods inherited from class org.basex.core.Command
close, databases, error, execute, execute, getOption, getOption, info, info, newData, run, run, setInput, setInput, supportsProg, toString
 
Methods inherited from class org.basex.core.Proc
abort, checkStop, det, detail, listen, proc, prog, progress, registered, registered, startTimeout, stop, stopTimeout, tit, title
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XQuery

public XQuery(java.lang.String query)
Default constructor.

Parameters:
query - query to evaluate
Method Detail

run

protected boolean run()
Description copied from class: Command
Executes the command and serializes the result (internal call).

Specified by:
run in class Command
Returns:
success of operation