com.sun.xml.ws.message.jaxb
Class AttachmentMarshallerImpl
java.lang.Object
javax.xml.bind.attachment.AttachmentMarshaller
com.sun.xml.ws.message.jaxb.AttachmentMarshallerImpl
final class AttachmentMarshallerImpl
- extends AttachmentMarshaller
Implementation of AttachmentMarshaller
, its used from JAXBMessage to marshall swaref type
- See Also:
JAXBMessage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentMarshallerImpl
public AttachmentMarshallerImpl(AttachmentSetImpl attachemnts)
cleanup
void cleanup()
- Release a reference to user objects to avoid keeping it in memory.
addMtomAttachment
public String addMtomAttachment(javax.activation.DataHandler data,
String elementNamespace,
String elementLocalName)
- Specified by:
addMtomAttachment
in class AttachmentMarshaller
addMtomAttachment
public String addMtomAttachment(byte[] data,
int offset,
int length,
String mimeType,
String elementNamespace,
String elementLocalName)
- Specified by:
addMtomAttachment
in class AttachmentMarshaller
addSwaRefAttachment
public String addSwaRefAttachment(javax.activation.DataHandler data)
- Specified by:
addSwaRefAttachment
in class AttachmentMarshaller