Package com.sun.tools.jxc
Class SchemaGenerator
java.lang.Object
com.sun.tools.jxc.SchemaGenerator
CLI entry-point to the schema generator.
- Author:
- Bhakti Mehta
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SchemaGenerator
public SchemaGenerator()
-
-
Method Details
-
main
Runs the schema generator.- Throws:
Exception
-
run
- Throws:
Exception
-
run
public static int run(String[] args, ClassLoader classLoader) throws ClassNotFoundException, NoSuchMethodException, IllegalAccessException, InvocationTargetException Runs 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:
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException
-