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

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


  }
 
  @Override
  protected Object getJAXBValue(String langCode) {
    JAXBImageMapValue imageMapValue = new JAXBImageMapValue();
    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();
View Full Code Here


  }
 
    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++) {
View Full Code Here

TOP

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

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.