public class SchemaCodeGenerator extends Object
| Constructor and Description |
|---|
SchemaCodeGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected static File |
createTempDir() |
static void |
saveTypeSystem(SchemaTypeSystem system,
File classesDir,
File sourceFile,
Repackager repackager,
XmlOptions options)
Deprecated.
Use
SchemaTypeSystem.save(Filer) instead. |
protected static void |
tryHardToDelete(File dir) |
public static void saveTypeSystem(SchemaTypeSystem system, File classesDir, File sourceFile, Repackager repackager, XmlOptions options) throws IOException
SchemaTypeSystem.save(Filer) instead.system - the SchemaTypeSystem to saveclassesDir - the destination directory for xsb'ssourceFile - if present, the TypeSystemHolder source will be
generated in this file for subsequent compilation,
if null then the source will be generated in a temp
directory and then compiled to the destination dirrepackager - the repackager to use when generating the holder classoptions - options. Can be nullIOExceptionprotected static File createTempDir() throws IOException
IOExceptionprotected static void tryHardToDelete(File dir)