| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| public static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static String | Returns: null if failed to locate it.Computes the file system path of |
| public static void | |
| public static int | |
| public static int | Returns: exit code. 0 if success.arguments for the schema generator args, ClassLoader the schema generator will run in this classLoader.
It needs to be able to load annotation processing and JAXB RI classes. Note that
JAXB RI classes refer to annotation processing classes. Must not be null. classLoader)Runs the schema generator. |
| private static String | |
| private static void |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| SchemaGenerator | back to summary |
|---|---|
| private SchemaGenerator() | |
| appendPath | back to summary |
|---|---|
| private static void appendPath(StringBuilder cp, String url) | |
| findJaxbApiJar | back to summary |
|---|---|
| private static String findJaxbApiJar() Computes the file system path of In Java, you can't do this reliably (for that matter there's no guarantee that such a jar file exists, such as in Glassfish), so we do the best we can.
| |
| main | back to summary |
|---|---|
| public static void main(String[] args) throws Exception Runs the schema generator. | |
| run | back to summary |
|---|---|
| public static int run(String[] args) throws Exception Runs the schema generator. | |
| run | back to summary |
|---|---|
| public static int run(String[] args, ClassLoader classLoader) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException Runs the schema generator.
| |
| setClasspath | back to summary |
|---|---|
| private static String setClasspath(String givenClasspath) | |
| usage | back to summary |
|---|---|
| private static void usage() | |
| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List | |
| private final List | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public List | |
| public List | |
| public List | Returns: a list of optionsReturns the list of recognized options and their arguments. |
| public List | Returns: a list of unrecognized optionsReturns the list of unrecognized options. |
| public static SchemaGenerator. | |
| public String |
| classNames | back to summary |
|---|---|
| private final List<String> classNames | |
| files | back to summary |
|---|---|
| private final List<File> files | |
| recognizedOptions | back to summary |
|---|---|
| private final List<String> recognizedOptions | |
| unrecognizedOptions | back to summary |
|---|---|
| private final List<String> unrecognizedOptions | |
| JavacOptions | back to summary |
|---|---|
| private JavacOptions(List<String> recognizedOptions, List<String> classNames, List<File> files, List<String> unrecognizedOptions) | |
| getClassNames | back to summary |
|---|---|
| public List Returns the list of class names. | |
| getFiles | back to summary |
|---|---|
| public List Returns the list of file names. | |
| getRecognizedOptions | back to summary |
|---|---|
| public List Returns the list of recognized options and their arguments. | |
| getUnrecognizedOptions | back to summary |
|---|---|
| public List Returns the list of unrecognized options. | |
| parse | back to summary |
|---|---|
| public static SchemaGenerator. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean |
| Runner | back to summary |
|---|---|
| private Runner() | |
| compile | back to summary |
|---|---|
| public static boolean compile(String[] args, File episode) throws Exception | |