org.springframework.oxm.jaxb
Class Jaxb2Marshaller.Jaxb2AttachmentMarshaller

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

private static class Jaxb2Marshaller.Jaxb2AttachmentMarshaller
extends javax.xml.bind.attachment.AttachmentMarshaller


Field Summary
private  MimeContainer mimeContainer
           
 
Constructor Summary
private Jaxb2Marshaller.Jaxb2AttachmentMarshaller(MimeContainer mimeContainer)
           
 
Method Summary
 java.lang.String addMtomAttachment(byte[] data, int offset, int length, java.lang.String mimeType, java.lang.String elementNamespace, java.lang.String elementLocalName)
           
 java.lang.String addMtomAttachment(javax.activation.DataHandler dataHandler, java.lang.String elementNamespace, java.lang.String elementLocalName)
           
 java.lang.String addSwaRefAttachment(javax.activation.DataHandler dataHandler)
           
private  java.lang.String getHost(java.lang.String elementNamespace, javax.activation.DataHandler dataHandler)
           
 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.Jaxb2AttachmentMarshaller

private Jaxb2Marshaller.Jaxb2AttachmentMarshaller(MimeContainer mimeContainer)
Method Detail

addMtomAttachment

public java.lang.String addMtomAttachment(byte[] data,
                                          int offset,
                                          int length,
                                          java.lang.String mimeType,
                                          java.lang.String elementNamespace,
                                          java.lang.String elementLocalName)
Specified by:
addMtomAttachment in class javax.xml.bind.attachment.AttachmentMarshaller

addMtomAttachment

public java.lang.String addMtomAttachment(javax.activation.DataHandler dataHandler,
                                          java.lang.String elementNamespace,
                                          java.lang.String elementLocalName)
Specified by:
addMtomAttachment in class javax.xml.bind.attachment.AttachmentMarshaller

getHost

private java.lang.String getHost(java.lang.String elementNamespace,
                                 javax.activation.DataHandler dataHandler)

addSwaRefAttachment

public java.lang.String addSwaRefAttachment(javax.activation.DataHandler dataHandler)
Specified by:
addSwaRefAttachment in class javax.xml.bind.attachment.AttachmentMarshaller

isXOPPackage

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