Class SchemaCodeGenerator


  • public class SchemaCodeGenerator
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static void saveTypeSystem​(SchemaTypeSystem system, java.io.File classesDir, java.io.File sourceFile, org.apache.xmlbeans.impl.repackage.Repackager repackager, XmlOptions options)
      Deprecated.
      Use {@link SchemaTypeSystem.save()} instead.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SchemaCodeGenerator

        public SchemaCodeGenerator()
    • Method Detail

      • saveTypeSystem

        public static void saveTypeSystem​(SchemaTypeSystem system,
                                          java.io.File classesDir,
                                          java.io.File sourceFile,
                                          org.apache.xmlbeans.impl.repackage.Repackager repackager,
                                          XmlOptions options)
                                   throws java.io.IOException
        Deprecated.
        Use {@link SchemaTypeSystem.save()} instead.
        Saves a SchemaTypeSystem to the specified directory.
        Parameters:
        system - the SchemaTypeSystem to save
        classesDir - the destination directory for xsb's
        sourceFile - 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 dir
        repackager - the repackager to use when generating the holder class
        options - options. Can be null
        Throws:
        java.io.IOException