org.basex.test.examples
Class QueryExample
java.lang.Object
org.basex.test.examples.QueryExample
public final class QueryExample
- extends Object
This example demonstrates three variants how XQuery requests can be
evaluated with BaseX.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, BaseX Team
Method Summary |
static void |
main(String[] args)
Runs the example code. |
main
public static void main(String[] args)
throws IOException,
QueryException,
BaseXException
- Runs the example code.
- Parameters:
args
- (ignored) command-line arguments
- Throws:
IOException
- if an error occurs while serializing the results
QueryException
- if an error occurs while evaluating the query
BaseXException
- if a database command fails