org.andromda.schema2xmi
Class Schema2XMI

java.lang.Object
  extended byorg.andromda.schema2xmi.Schema2XMI

public class Schema2XMI
extends Object

Converts a database schema to an XMI document.

Author:
Chad Brandon

Constructor Summary
Schema2XMI()
           
 
Method Summary
static void displayHelp()
          Display usage information based upon current command-line option configuration.
static void main(String[] args)
           
 org.apache.commons.cli.CommandLine parseCommands(String[] args)
          Parse a string-array of command-line arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema2XMI

public Schema2XMI()
Method Detail

displayHelp

public static void displayHelp()
Display usage information based upon current command-line option configuration.


parseCommands

public org.apache.commons.cli.CommandLine parseCommands(String[] args)
                                                 throws org.apache.commons.cli.ParseException
Parse a string-array of command-line arguments.

This will parse the arguments against the configured schema2xmi command-line options, and return a CommandLine object from which we can retrieve the command like options.

Parameters:
args - The command-line arguments to parse.
Returns:
The CommandLine result.
Throws:
org.apache.commons.cli.ParseException - If an error occurs while parsing the command-line options.
See Also:
CLI

main

public static void main(String[] args)


Copyright © 2003-2006 The AndroMDA Team. All Rights Reserved.