org.springframework.oxm.jaxb
Class Jaxb2Marshaller.Jaxb2AttachmentUnmarshaller

java.lang.Object
  extended by javax.xml.bind.attachment.AttachmentUnmarshaller
      extended by org.springframework.oxm.jaxb.Jaxb2Marshaller.Jaxb2AttachmentUnmarshaller
Enclosing class:
Jaxb2Marshaller

private static class Jaxb2Marshaller.Jaxb2AttachmentUnmarshaller
extends javax.xml.bind.attachment.AttachmentUnmarshaller


Field Summary
private  MimeContainer mimeContainer
           
 
Constructor Summary
private Jaxb2Marshaller.Jaxb2AttachmentUnmarshaller(MimeContainer mimeContainer)
           
 
Method Summary
 byte[] getAttachmentAsByteArray(java.lang.String cid)
           
 javax.activation.DataHandler getAttachmentAsDataHandler(java.lang.String contentId)
           
 boolean isXOPPackage()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mimeContainer

private final MimeContainer mimeContainer
Constructor Detail

Jaxb2Marshaller.Jaxb2AttachmentUnmarshaller

private Jaxb2Marshaller.Jaxb2AttachmentUnmarshaller(MimeContainer mimeContainer)
Method Detail

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 contentId)
Specified by:
getAttachmentAsDataHandler in class javax.xml.bind.attachment.AttachmentUnmarshaller

isXOPPackage

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