Class<?>[] classes = {ABean.class, BBean.class, CBean.class, DBean.class};
context = contextHelper.createJAXBContext(classes);
DOMResolverImpl resolver = new DOMResolverImpl();
context.generateSchema(resolver);
String toNamespace = null;
String fromNamespace = null;
Document toDocument = null;
Document fromDocument = null;