com.sun.xml.ws.db.sdo.SDOAttachmentUnmarshaller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdo-eclipselink-plugin Show documentation
Show all versions of sdo-eclipselink-plugin Show documentation
Pluggable databinding module employing Eclipselink SDO
package com.sun.xml.ws.db.sdo;
import org.eclipse.persistence.oxm.attachment.XMLAttachmentUnmarshaller;
import javax.activation.DataHandler;
/**
* Created by IntelliJ IDEA.
* User: giglee
* Date: May 13, 2009
* Time: 3:52:18 PM
* To change this template use File | Settings | File Templates.
*/
public class SDOAttachmentUnmarshaller implements XMLAttachmentUnmarshaller {
private javax.xml.bind.attachment.AttachmentUnmarshaller jbu;
public SDOAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller jbu) {
this.jbu = jbu;
}
public byte[] getAttachmentAsByteArray(String cid) {
return jbu.getAttachmentAsByteArray(cid);
}
public DataHandler getAttachmentAsDataHandler(String cid) {
return jbu.getAttachmentAsDataHandler(cid);
}
public boolean isXOPPackage() {
return jbu.isXOPPackage();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy