(styleName != null && styleName.equals(thisStyleName))) {
try {
Bundle bundle = Platform.getBundle(
((IExtension) conf.getParent()).getContributor().getName());
URL url = bundle.getResource(conf.getAttribute("xmlFile"));
StyleMapping mapping = StyleMappingDAO.read((InputStream) url.getContent());
return mapping;
} catch (Exception e) {
throw new ArchMapperException("Error trying to get a style mapping from an extension point: " + e.getMessage(), e);
}
}