public static class StaxDataBinding.XMLStreamDataWriter extends Object implements DataWriter<XMLStreamWriter>
ENDPOINT| Constructor and Description | 
|---|
| XMLStreamDataWriter() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | setAttachments(Collection<Attachment> attachments)Attach a collection of attachments to this writer. | 
| void | setProperty(String key,
           Object value)Set a property for the writer. | 
| void | setSchema(Schema s)Attach a schema to the writer. | 
| void | write(Object obj,
     MessagePartInfo part,
     XMLStreamWriter output)Write an object to an output sink, including extra processing based on the WSDL
 service model for a particular message part. | 
| void | write(Object obj,
     XMLStreamWriter writer)Write an object to an output sink. | 
public void write(Object obj, MessagePartInfo part, XMLStreamWriter output)
DataWriterwrite in interface DataWriter<XMLStreamWriter>obj - The object to write.part - the message part.output - the output sink.public void write(Object obj, XMLStreamWriter writer)
DataWriterwrite in interface DataWriter<XMLStreamWriter>obj - the object to write.writer - the output sink.public void setSchema(Schema s)
DataWritersetSchema in interface DataWriter<XMLStreamWriter>s - the schema.public void setAttachments(Collection<Attachment> attachments)
DataWritersetAttachments in interface DataWriter<XMLStreamWriter>public void setProperty(String key, Object value)
DataWritersetProperty in interface DataWriter<XMLStreamWriter>key - property keyvalue - property value.Apache CXF