| java.lang.Object com.sun.tools.xjc.Driver
Driver | public class Driver (Code) | | CUI of XJC.
|
Inner Class :static class OptionsEx extends Options | |
Method Summary | |
public static String | getBuildID() | public static void | main(String[] args) | public static int | run(String[] args, PrintStream status, PrintStream out) Performs schema compilation and prints the status/error into the
specified PrintStream.
This method could be used to trigger XJC from other tools,
such as Ant or IDE.
Parameters: args - specified command line parameters. | public static int | run(String[] args, XJCListener listener) Performs schema compilation and prints the status/error into the
specified PrintStream.
This method could be used to trigger XJC from other tools,
such as Ant or IDE.
Parameters: args - specified command line parameters. | public static void | usage(Options opts, boolean privateUsage) Prints the usage screen and exits the process. |
run | public static int run(String[] args, PrintStream status, PrintStream out) throws Exception(Code) | | Performs schema compilation and prints the status/error into the
specified PrintStream.
This method could be used to trigger XJC from other tools,
such as Ant or IDE.
Parameters: args - specified command line parameters. If there is an errorin the parameters, BadCommandLineException willbe thrown. Parameters: status - Status report of the compilation will be sent to this object.Useful to update users so that they will know something is happening.Only ignorable messages should be sent to this stream.This parameter can be null to suppress messages. Parameters: out - Various non-ignorable output (error messages, etc)will go to this stream.If the compiler runs successfully, this method returns 0.All non-zero values indicate an error. The error messagewill be sent to the specified PrintStream. |
run | public static int run(String[] args, XJCListener listener) throws BadCommandLineException(Code) | | Performs schema compilation and prints the status/error into the
specified PrintStream.
This method could be used to trigger XJC from other tools,
such as Ant or IDE.
Parameters: args - specified command line parameters. If there is an errorin the parameters, BadCommandLineException willbe thrown. Parameters: listener - Receives messages from XJC reporting progress/errors.If the compiler runs successfully, this method returns 0.All non-zero values indicate an error. The error messagewill be sent to the specified PrintStream. |
usage | public static void usage(Options opts, boolean privateUsage)(Code) | | Prints the usage screen and exits the process.
Parameters: opts - If the parsing of options have started, set a partly populatedOptions object. |
|
|