com.sun.tools.jxc
Class SchemaGenerator
java.lang.Object
com.sun.tools.jxc.SchemaGenerator
public class SchemaGenerator
- extends Object
CLI entry-point to the schema generator.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SchemaGenerator
public SchemaGenerator()
main
public static void main(String[] args)
throws Exception
- Runs the schema generator.
- Throws:
Exception
run
public static int run(String[] args)
throws Exception
- 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 APT and JAXB RI classes. Note that
JAXB RI classes refer to APT classes. Must not be null.
- Returns:
- exit code. 0 if success.
- Throws:
ClassNotFoundException
NoSuchMethodException
IllegalAccessException
InvocationTargetException