public class SchemaGenerator
extends java.lang.Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
SchemaGenerator.Runner |
| Constructor | Description |
|---|---|
SchemaGenerator() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
main(java.lang.String[] args) |
Runs the schema generator.
|
static int |
run(java.lang.String[] args) |
|
static int |
run(java.lang.String[] args,
java.lang.ClassLoader classLoader) |
Runs the schema generator.
|
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static int run(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic static int run(java.lang.String[] args,
java.lang.ClassLoader classLoader)
throws java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
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.java.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetExceptionCopyright © 2018 Oracle Corporation. All rights reserved.