}
}
JAXBContext jaxbContext = JAXBContext.newInstance(javaClasses.toArray(new Class<?>[javaClasses.size()]));
MemorySchemaOutputResolver schemaOutputResolver = new MemorySchemaOutputResolver();
jaxbContext.generateSchema(schemaOutputResolver);
Map<String, StringWriter> writers = schemaOutputResolver.getWriters();
StringWriter writer = writers.get(namespace);
if (writer == null) {
throw new IllegalArgumentException();
}