public class SchemaGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaGenerator.Runner |
| Constructor and Description |
|---|
SchemaGenerator() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Runs the schema generator.
|
static int |
run(String[] args) |
static int |
run(String[] args,
ClassLoader classLoader)
Runs the schema generator.
|
public static void main(String[] args) throws Exception
Exceptionpublic static int run(String[] args, ClassLoader classLoader) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, 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.ClassNotFoundExceptionNoSuchMethodExceptionIllegalAccessExceptionInvocationTargetExceptionCopyright © 2019 JBoss by Red Hat. All rights reserved.