org.apache.cxf.jaxrs.provider
Class JAXBAttachmentMarshaller
java.lang.Object
javax.xml.bind.attachment.AttachmentMarshaller
org.apache.cxf.jaxrs.provider.JAXBAttachmentMarshaller
public class JAXBAttachmentMarshaller
- extends AttachmentMarshaller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBAttachmentMarshaller
public JAXBAttachmentMarshaller(Collection<Attachment> attachments,
Integer mtomThreshold)
addMtomAttachment
public String addMtomAttachment(byte[] data,
int offset,
int length,
String mimeType,
String elementNS,
String elementLocalName)
- Specified by:
addMtomAttachment
in class AttachmentMarshaller
addMtomAttachment
public String addMtomAttachment(DataHandler handler,
String elementNS,
String elementLocalName)
- Specified by:
addMtomAttachment
in class AttachmentMarshaller
addSwaRefAttachment
public String addSwaRefAttachment(DataHandler handler)
- Specified by:
addSwaRefAttachment
in class AttachmentMarshaller
isXOPPackage
public boolean isXOPPackage()
- Overrides:
isXOPPackage
in class AttachmentMarshaller
Apache CXF