DoRImageElement.java
841 Bytes
/*
* Decompiled with CFR 0_118.
*
* Could not load the following classes:
* com.adobe.xfa.Element
*/
package com.adobe.aemds.guide.addon.dor.elements;
import com.adobe.aemds.guide.addon.dor.elements.DoRElement;
import com.adobe.xfa.Element;
import java.util.Map;
import java.util.Properties;
public class DoRImageElement
extends DoRElement {
public DoRImageElement(Element xfaElement) throws Exception {
super(xfaElement);
this.xPathExprs.put("imageData", "value/image/text()");
this.xPathExprs.put("jcr:mimeType", "value/image/@contentType");
this.xPathExprs.put("imageHref", "desc/text/text()");
this.xPathExprs.remove("jcr:title");
}
@Override
public void applyProperties(Properties properties) throws Exception {
super.applyProperties(properties, true);
}
}