org.springframework.oxm.jaxb
Class Jaxb2Marshaller.Jaxb2AttachmentMarshaller
java.lang.Object
javax.xml.bind.attachment.AttachmentMarshaller
org.springframework.oxm.jaxb.Jaxb2Marshaller.Jaxb2AttachmentMarshaller
- Enclosing class:
- Jaxb2Marshaller
private static class Jaxb2Marshaller.Jaxb2AttachmentMarshaller
- extends javax.xml.bind.attachment.AttachmentMarshaller
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 |
mimeContainer
private final MimeContainer mimeContainer
Jaxb2Marshaller.Jaxb2AttachmentMarshaller
private Jaxb2Marshaller.Jaxb2AttachmentMarshaller(MimeContainer mimeContainer)
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