Class PlainXmlWriter
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.ws.cxf.databinding.plainxml.PlainXmlWriter
-
- All Implemented Interfaces:
org.apache.cxf.databinding.DataWriter<XMLStreamWriter>
public class PlainXmlWriter extends Object implements org.apache.cxf.databinding.DataWriter<XMLStreamWriter>
A special writer for some transactions (e.g. HL7 v3) whose expected input data is String representation of an XML element.- Author:
- Dmytro Rud
-
-
Constructor Summary
Constructors Constructor Description PlainXmlWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetAttachments(Collection<org.apache.cxf.message.Attachment> attachments)voidsetProperty(String key, Object value)voidsetSchema(Schema s)voidwrite(Object obj, XMLStreamWriter writer)voidwrite(Object obj, org.apache.cxf.service.model.MessagePartInfo part, XMLStreamWriter writer)
-
-
-
Method Detail
-
write
public void write(Object obj, org.apache.cxf.service.model.MessagePartInfo part, XMLStreamWriter writer)
- Specified by:
writein interfaceorg.apache.cxf.databinding.DataWriter<XMLStreamWriter>
-
write
public void write(Object obj, XMLStreamWriter writer)
- Specified by:
writein interfaceorg.apache.cxf.databinding.DataWriter<XMLStreamWriter>
-
setAttachments
public void setAttachments(Collection<org.apache.cxf.message.Attachment> attachments)
- Specified by:
setAttachmentsin interfaceorg.apache.cxf.databinding.DataWriter<XMLStreamWriter>
-
setProperty
public void setProperty(String key, Object value)
- Specified by:
setPropertyin interfaceorg.apache.cxf.databinding.DataWriter<XMLStreamWriter>
-
setSchema
public void setSchema(Schema s)
- Specified by:
setSchemain interfaceorg.apache.cxf.databinding.DataWriter<XMLStreamWriter>
-
-