Package com.leansoft.mxjc.module

Examples of com.leansoft.mxjc.module.ClientModule


           
                // use specific client module to generate code
                Set<FileInfo> targetFiles = new HashSet<FileInfo>();
                try {
                    // generate types first
                    ClientModule clientModule = ModuleFactory.getModule(options.module);
                    clientModule.setErrorReceiver(xjcErrorReceiver);// enable reporting
                    clientModule.init();
                   
          Set<FileInfo> typeFiles = clientModule.generate(jaxbCodeGenModel, cgConfig);
         
          // then generate ws client
          WSClientModule wsClientModule = WSModuleFactory.getModule(options.module);
          wsClientModule.setErrorReceiver(receiver);
          wsClientModule.init();
View Full Code Here

TOP

Related Classes of com.leansoft.mxjc.module.ClientModule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.