}
return imageMapValue;
}
public void valueFrom(DefaultJAXBAttribute jaxbAttribute) {
JAXBImageMapValue value = (JAXBImageMapValue) jaxbAttribute.getValue();
if (null == value) return;
JAXBResourceValue jaxbImageValue = value.getImage();
if (null == jaxbImageValue) return;
try {
IResourceManager resourceManager = this.getResourceManager();
ResourceInterface resource = resourceManager.loadResource(jaxbImageValue.getResourceId().toString());
if (null != resource) {
this.setResource(resource, this.getDefaultLangCode());
}
if (null != value.getAreas()) {
for (int i = 0; i < value.getAreas().size(); i++) {
JAXBAreaValue areaValue = value.getAreas().get(i);
JAXBLinkValue areaLinkValue = areaValue.getLink();
if (null == areaValue || null == areaLinkValue) continue;
LinkedArea linkedArea = (LinkedArea) this.getPrototype().clone();
linkedArea.setShape(areaValue.getShape());
linkedArea.setCoords(areaValue.getCoords());