315316317318319320321322323324325
for (String ns : context.getNamespacePackageMap().keySet()) { File file = JAXBUtils.getPackageMappingSchemaBindingFile(ns, context.mapPackageName(ns)); try { InputSource ins = new InputSource(file.toURI().toString()); schemaCompiler.parseSchema(ins); } finally { FileUtils.delete(file); } }
205206207208209210211212213214215
9596979899100101102103104105
if (pkg == null) { pkg = extractNamespace(schema); } sc.setDefaultPackageName(pkg); sc.parseSchema((InputSource) xmlObjectsVector.elementAt(i)); // Bind the XML S2JJAXBModel jaxbModel = sc.bind(); // Emit the code artifacts
374375376377378379380381382383384
202203204205206207208209210211212
375376377378379380381382383384385
312313314315316317318319320321322
442443444445446447448449450451452