org.basex.test.examples
Class CollectionExample

java.lang.Object
  extended by org.basex.test.examples.CollectionExample

public final class CollectionExample
extends Object

This class shows the basic usage of the BaseX collection commands. Collections provide access to several XML documents inside one database. Collections may be created by importing a folder or adding single files. For some XQuery examples in a collection context, please see CollectionQueryExample

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

Method Summary
static void main(String[] args)
          Runs the example code.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws BaseXException
Runs the example code.

Parameters:
args - (ignored) command-line arguments
Throws:
BaseXException - if a database command fails