public class AttachmentMarshallerImpl extends AttachmentMarshaller
AttachmentMarshaller| Constructor and Description |
|---|
AttachmentMarshallerImpl(boolean xop) |
AttachmentMarshallerImpl(boolean xop,
int threshold) |
| Modifier and Type | Method and Description |
|---|---|
String |
addMtomAttachment(byte[] data,
int offset,
int length,
String mimeType,
String elementNamespace,
String elementLocalName) |
String |
addMtomAttachment(DataHandler data,
String elementNamespace,
String elementLocalName) |
String |
addSwaRefAttachment(DataHandler data) |
Map<String,DataHandler> |
getDataHandlerMap() |
boolean |
isXOPPackage() |
public AttachmentMarshallerImpl(boolean xop)
xop - boolean the determine is the marshaller must handle xop (XML-binary Optimized Packaging).public AttachmentMarshallerImpl(boolean xop,
int threshold)
xop - boolean the determine is the marshaller must handle xop (XML-binary Optimized Packaging).threshold - if XML-binary Optimized Packaging is usedpublic Map<String,DataHandler> getDataHandlerMap()
public String addMtomAttachment(DataHandler data, String elementNamespace, String elementLocalName)
addMtomAttachment in class AttachmentMarshallerpublic String addMtomAttachment(byte[] data, int offset, int length, String mimeType, String elementNamespace, String elementLocalName)
addMtomAttachment in class AttachmentMarshallerpublic String addSwaRefAttachment(DataHandler data)
addSwaRefAttachment in class AttachmentMarshallerpublic boolean isXOPPackage()
isXOPPackage in class AttachmentMarshaller
Connector Packaging generic 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.