generator.setTargetDirectory(outputDir);
generator.setForcingOverwrite(false);
generator.setSchemaReader(reader);
for (int i = 0; i < xmlObjectsVector.size(); i++) {
SchemaSG sg = generator.generate((InputSource)xmlObjectsVector.elementAt(i));
ObjectSG[] elements = sg.getElements();
for (int j = 0; j < elements.length; j++) {
XsQName qName = elements[j].getName();
JavaQName name = elements[j].getClassContext().getXMLInterfaceName();
mapper.addTypeMappingName(