org.apache.axis2.datasource.jaxb
Class AbstractJAXBAttachmentUnmarshaller
java.lang.Object
javax.xml.bind.attachment.AttachmentUnmarshaller
org.apache.axis2.datasource.jaxb.AbstractJAXBAttachmentUnmarshaller
- Direct Known Subclasses:
- JAXBAttachmentUnmarshaller, JAXBAttachmentUnmarshaller
public abstract class AbstractJAXBAttachmentUnmarshaller
- extends javax.xml.bind.attachment.AttachmentUnmarshaller
Abstract base class for JAXBAttachmentUnmarshaller and
JAXBAttachmentUnmarshaller. This is a partial
implementation of the AttachmentUnmarshaller class. It handles the attachments provided
by Axiom through the MimePartProvider interface. It should be noted that while Axiom only
handles attachments referenced using XOP, AttachmentUnmarshaller is also used to retrieve
attachments from SwA messages. Hence the getDataHandlerForSwA(String) method.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJAXBAttachmentUnmarshaller
public AbstractJAXBAttachmentUnmarshaller(org.apache.axiom.util.stax.xop.MimePartProvider mimePartProvider)
isXOPPackage
public final boolean isXOPPackage()
- Overrides:
isXOPPackage in class javax.xml.bind.attachment.AttachmentUnmarshaller
getAttachmentAsByteArray
public final byte[] getAttachmentAsByteArray(java.lang.String cid)
- Specified by:
getAttachmentAsByteArray in class javax.xml.bind.attachment.AttachmentUnmarshaller
getAttachmentAsDataHandler
public final javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String cid)
- Specified by:
getAttachmentAsDataHandler in class javax.xml.bind.attachment.AttachmentUnmarshaller
getDataHandlerForSwA
protected abstract javax.activation.DataHandler getDataHandlerForSwA(java.lang.String blobcid)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.