* for the marshaller. So, we create our POJO as normal but thenuse our
* factory to give us a JAXBElement from our POJO - at least for the
* top-level object.
*/
{
ObjectFactory f = new ObjectFactory();
generatedCompany = f.createCompany();
generated.Organisation generatedOrg = f.createOrganisation();
generatedOrg.setName(customCompany.getOrganisations().get(0).getName());
generatedCompany.getOrganisations().getOrg().add(generatedOrg);
// genOrg.setName(org.getName());
// Get JAXBElement representation and use that...
//jaxbOrg = f.createOrganisation(genOrg);