}
if (!packageRegistry.values().isEmpty())
{
String packageURI = getSchemaNamespace(xsdFileName);
generatePackages(packageRegistry.values(), packageURI, null, targetDirectory, javaPackage, prefix, genOptions);
}
/*
for (Iterator iter = packageRegistry.values().iterator(); iter.hasNext();)
{