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 AttachmentMarshaller
public String addMtomAttachment(byte[] data, int offset, int length, String mimeType, String elementNamespace, String elementLocalName)
addMtomAttachment
in class AttachmentMarshaller
public String addSwaRefAttachment(DataHandler data)
addSwaRefAttachment
in class AttachmentMarshaller
public boolean isXOPPackage()
isXOPPackage
in class AttachmentMarshaller
Connector Packaging TECHNICAL 4.3.0-beta-3 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.