org.apache.axis2.datasource.jaxb
Class JAXBAttachmentUnmarshaller

java.lang.Object
  extended by javax.xml.bind.attachment.AttachmentUnmarshaller
      extended by org.apache.axis2.datasource.jaxb.JAXBAttachmentUnmarshaller
Direct Known Subclasses:
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(MessageContext msgContext)
           
 
Method Summary
 byte[] getAttachmentAsByteArray(java.lang.String cid)
           
 javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String cid)
           
protected  javax.activation.DataHandler getDataHandler(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(MessageContext msgContext)
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

getDataHandler

protected javax.activation.DataHandler getDataHandler(java.lang.String cid)


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