net.sf.xaj.support
Class XQueryTool

java.lang.Object
  extended by net.sf.xaj.support.XQueryTool

public class XQueryTool
extends java.lang.Object

A command-line tool to load a set of XML data into a Xaj database.

Version:
$Revision: 45 $ $Date: 2007-10-07 19:40:28 +1300 (Sun, 07 Oct 2007) $
Author:
matt

Nested Class Summary
static class XQueryTool.Command
          A command-line arguments bean object.
 
Constructor Summary
XQueryTool(XQueryTool.Command cmd)
          Construct from a Command object.
 
Method Summary
static void main(java.lang.String[] args)
          Run the XML data load tool.
 void run()
          Run the tool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQueryTool

public XQueryTool(XQueryTool.Command cmd)
Construct from a Command object.

Parameters:
cmd - the command object
Method Detail

run

public void run()
         throws java.lang.Exception
Run the tool.

Throws:
java.lang.Exception - if any error occurs

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Run the XML data load tool.

Parameters:
args - the command line arguments
Throws:
java.lang.Exception - if any error occurs