| Modifier and Type | Class and Description |
|---|---|
| private static enum | Driver.
Operation mode. |
| pack-priv static class | Driver.
Command-line arguments processor. |
| private static class | Driver.
Used to signal that we've finished processing. |
| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| public static String | |
| public static void | |
| public static int | Returns: If the compiler runs successfully, this method returns 0. All non-zero values indicate an error. The error message will be sent to the specified PrintStream.specified command line parameters. If there is an error
in the parameters, args, final PrintStream BadCommandLineException will
be thrown.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. status, final PrintStream Various non-ignorable output (error messages, etc)
will go to this stream. out)Performs schema compilation and prints the status/error into the specified PrintStream. |
| public static int | Returns: If the compiler runs successfully, this method returns 0. All non-zero values indicate an error. The error message will be sent to the specified PrintStream.specified command line parameters. If there is an error
in the parameters, args, final XJCListener BadCommandLineException will
be thrown.Receives messages from XJC reporting progress/errors. listener)Performs schema compilation and prints the status/error into the specified PrintStream. |
| private static void | |
| public static void |
| SYSTEM_PROXY_PROPERTY | back to summary |
|---|---|
| private static final String SYSTEM_PROXY_PROPERTY | |
| Driver | back to summary |
|---|---|
| private Driver() | |
| _main | back to summary |
|---|---|
| private static void _main(String[] args) throws Exception | |
| getBuildID | back to summary |
|---|---|
| public static String getBuildID() | |
| main | back to summary |
|---|---|
| public static void main(final String[] args) throws Exception | |
| run | back to summary |
|---|---|
| public static int run(String[] args, final PrintStream status, final PrintStream out) throws Exception 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.
| |
| run | back to summary |
|---|---|
| public static int run(String[] args, final XJCListener listener) throws BadCommandLineException 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.
| |
| setupProxies | back to summary |
|---|---|
| private static void setupProxies() Set useSystemProxies if needed | |
| usage | back to summary |
|---|---|
| public static void usage(Options opts, boolean privateUsage) Prints the usage screen and exits the process. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final Driver. | |
| public static final Driver. | |
| public static final Driver. | |
| public static final Driver. | |
| public static final Driver. | |
| public static final Driver. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Driver. | |
| public static Driver. |
| CODE | back to summary |
|---|---|
| public static final Driver. | |
| DRYRUN | back to summary |
|---|---|
| public static final Driver. | |
| FOREST | back to summary |
|---|---|
| public static final Driver. | |
| GBIND | back to summary |
|---|---|
| public static final Driver. | |
| SIGNATURE | back to summary |
|---|---|
| public static final Driver. | |
| ZIP | back to summary |
|---|---|
| public static final Driver. | |
| Mode | back to summary |
|---|---|
| private Mode() | |
| valueOf | back to summary |
|---|---|
| public static Driver. | |
| values | back to summary |
|---|---|
| public static Driver. | |
This class contains options that only make sense for the command line interface.
| Modifier and Type | Field and Description |
|---|---|
| protected Driver. | mode
Operation mode. |
| public boolean | noNS
A switch that determines the behavior in the BGM mode. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public int | parseArgument(String[] args, int i)
Overrides com. Parse XJC-specific options. |
| mode | back to summary |
|---|---|
| protected Driver. Operation mode. | |
| noNS | back to summary |
|---|---|
| public boolean noNS A switch that determines the behavior in the BGM mode. | |
| OptionsEx | back to summary |
|---|---|
| pack-priv OptionsEx() | |
| parseArgument | back to summary |
|---|---|
| public int parseArgument(String[] args, int i) throws BadCommandLineException Overrides com. Parse XJC-specific options.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| private |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides com. | |
| WeAreDone | back to summary |
|---|---|
| private WeAreDone() | |