org.codehaus.xfire.jaxb2
Class AttachmentUnmarshaller

java.lang.Object
  extended by javax.xml.bind.attachment.AttachmentUnmarshaller
      extended by org.codehaus.xfire.jaxb2.AttachmentUnmarshaller

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


Constructor Summary
AttachmentUnmarshaller(org.codehaus.xfire.MessageContext context)
           
 
Method Summary
static void copy(java.io.InputStream input, java.io.OutputStream output)
           
 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

AttachmentUnmarshaller

public AttachmentUnmarshaller(org.codehaus.xfire.MessageContext context)
Method Detail

getAttachmentAsByteArray

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

copy

public static void copy(java.io.InputStream input,
                        java.io.OutputStream output)
                 throws java.io.IOException
Throws:
java.io.IOException

getAttachmentAsDataHandler

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

isXOPPackage

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


Copyright © 2004-2008. All Rights Reserved.