Package org.apache.xmlbeans.impl.tool
Class SchemaCodeGenerator
java.lang.Object
org.apache.xmlbeans.impl.tool.SchemaCodeGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
saveTypeSystem
(SchemaTypeSystem system, File classesDir, File sourceFile, Repackager repackager, XmlOptions options) Deprecated.
-
Constructor Details
-
SchemaCodeGenerator
public SchemaCodeGenerator()
-
-
Method Details
-
saveTypeSystem
public static void saveTypeSystem(SchemaTypeSystem system, File classesDir, File sourceFile, Repackager repackager, XmlOptions options) throws IOException Deprecated.UseSchemaTypeSystem.save(Filer)
instead.Saves a SchemaTypeSystem to the specified directory.- Parameters:
system
- theSchemaTypeSystem
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 null- Throws:
IOException
-
SchemaTypeSystem.save(Filer)
instead.