Element parent = XMLUtils.newRootElement();
Element child = null;
RelatedBusinessInfos infos = new RelatedBusinessInfos();
infos.addRelatedBusinessInfo(new RelatedBusinessInfo());
infos.addRelatedBusinessInfo(new RelatedBusinessInfo());
System.out.println();
RegistryObject regObject = infos;
handler.marshal(regObject,parent);