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