org.apache.axis2.jaxws.message.attachments
Class JAXBAttachmentUnmarshaller

java.lang.Object
  extended by javax.xml.bind.attachment.AttachmentUnmarshaller
      extended by org.apache.axis2.jaxws.message.attachments.JAXBAttachmentUnmarshaller

public class JAXBAttachmentUnmarshaller
extends javax.xml.bind.attachment.AttachmentUnmarshaller

JAXBAttachmentUnmarshaller

An implementation of the javax.xml.bind.attachment.AttachmentUnmarshaller that is used for deserializing XOP elements into their corresponding binary data packages.


Constructor Summary
JAXBAttachmentUnmarshaller(Message message)
           
 
Method Summary
 byte[] getAttachmentAsByteArray(java.lang.String cid)
           
 javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String cid)
           
 boolean isXOPPackage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBAttachmentUnmarshaller

public JAXBAttachmentUnmarshaller(Message message)
Method Detail

isXOPPackage

public boolean isXOPPackage()
Overrides:
isXOPPackage in class javax.xml.bind.attachment.AttachmentUnmarshaller

getAttachmentAsByteArray

public byte[] getAttachmentAsByteArray(java.lang.String cid)
Specified by:
getAttachmentAsByteArray in class javax.xml.bind.attachment.AttachmentUnmarshaller

getAttachmentAsDataHandler

public javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String cid)
Specified by:
getAttachmentAsDataHandler in class javax.xml.bind.attachment.AttachmentUnmarshaller


Copyright © 2007 Apache Web Services Project. All Rights Reserved.