Package com.sun.tools.jxc
Class SchemaGenerator
- java.lang.Object
-
- com.sun.tools.jxc.SchemaGenerator
-
public class SchemaGenerator extends java.lang.ObjectCLI entry-point to the schema generator.- Author:
- Bhakti Mehta
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchemaGenerator.Runner
-
Constructor Summary
Constructors Constructor Description SchemaGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)Runs the schema generator.static intrun(java.lang.String[] args)static intrun(java.lang.String[] args, java.lang.ClassLoader classLoader)Runs the schema generator.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.lang.ExceptionRuns the schema generator.- Throws:
java.lang.Exception
-
run
public static int run(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
run
public static int run(java.lang.String[] args, java.lang.ClassLoader classLoader) throws java.lang.ClassNotFoundException, java.lang.NoSuchMethodException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetExceptionRuns the schema generator.- Parameters:
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.- Returns:
- exit code. 0 if success.
- Throws:
java.lang.ClassNotFoundExceptionjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-
-