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,
org.apache.xmlbeans.impl.repackage.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, org.apache.xmlbeans.impl.repackage.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 nullIOException
protected static File createTempDir() throws IOException
IOException
protected static void tryHardToDelete(File dir)