}
}
private static void createLicenses(IPersistenceManager persistenceManager, W3CWidget model, IWidget widget){
for(ILicense licenseModel: model.getLicenses()){
ILicense license = persistenceManager.newInstance(ILicense.class);
license.setLicenseText(licenseModel.getLicenseText());
license.setHref(licenseModel.getHref());
license.setLang(licenseModel.getLang());
license.setDir(licenseModel.getDir());
widget.getLicenses().add(license);
}
}