T - The type of sink. Each data binding defines the set of sink types that it supports.public interface DataWriter<T>
| 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,
     T 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,
     T output)Write an object to an output sink. | 
static final String ENDPOINT
void setSchema(Schema s)
s - the schema.void setAttachments(Collection<Attachment> attachments)
attachments - void setProperty(String key, Object value)
key - property keyvalue - property value.void write(Object obj, T output)
obj - the object to write.output - the output sink.void write(Object obj, MessagePartInfo part, T output)
obj - The object to write.part - the message part.output - the output sink.Apache CXF