Package com.agiletec.plugins.jacms.aps.system.services.content.model.extraAttribute

Examples of com.agiletec.plugins.jacms.aps.system.services.content.model.extraAttribute.JAXBLinkValue


                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());
          linkedArea.getLink().setSymbolicLink(areaLinkValue.getSymbolikLink());
          Object textValue = areaLinkValue.getText();
          if (null == textValue) return;
          linkedArea.getLink().getTextMap().put(this.getDefaultLangCode(), textValue.toString());
        }
      }
        } catch (Exception e) {
View Full Code Here


    JAXBResourceValue jaxbImageValue = (JAXBResourceValue) this.getImage().getJAXBAttribute(langCode).getValue();
    imageMapValue.setImage(jaxbImageValue);
    for (int i = 0; i < this.getAreas().size(); i++) {
      LinkedArea area = this.getAreas().get(i);
      JAXBAreaValue areaValue = new JAXBAreaValue();
      JAXBLinkValue areaLinkValue = (JAXBLinkValue) area.getLink().getJAXBAttribute(langCode).getValue();
      areaValue.setLink(areaLinkValue);
      areaValue.setShape(area.getShape());
      areaValue.setCoords(area.getCoords());
      imageMapValue.addArea(areaValue);
    }
View Full Code Here

TOP

Related Classes of com.agiletec.plugins.jacms.aps.system.services.content.model.extraAttribute.JAXBLinkValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.