Class NodeDataWriter
- java.lang.Object
- 
- org.apache.cxf.databinding.source.NodeDataWriter
 
- 
- All Implemented Interfaces:
- DataWriter<Node>
 
 public class NodeDataWriter extends Object implements DataWriter<Node> 
- 
- 
Field Summary- 
Fields inherited from interface org.apache.cxf.databinding.DataWriterENDPOINT
 
- 
 - 
Constructor SummaryConstructors Constructor Description NodeDataWriter()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetAttachments(Collection<Attachment> attachments)Attach a collection of attachments to this writer.voidsetProperty(String key, Object value)Set a property for the writer.voidsetSchema(Schema s)Attach a schema to the writer.voidwrite(Object obj, MessagePartInfo part, Node output)Write an object to an output sink, including extra processing based on the WSDL service model for a particular message part.voidwrite(Object obj, Node n)Write an object to an output sink.
 
- 
- 
- 
Method Detail- 
writepublic void write(Object obj, MessagePartInfo part, Node output) Description copied from interface:DataWriterWrite an object to an output sink, including extra processing based on the WSDL service model for a particular message part.- Specified by:
- writein interface- DataWriter<Node>
- Parameters:
- obj- The object to write.
- part- the message part.
- output- the output sink.
 
 - 
writepublic void write(Object obj, Node n) Description copied from interface:DataWriterWrite an object to an output sink.- Specified by:
- writein interface- DataWriter<Node>
- Parameters:
- obj- the object to write.
- n- the output sink.
 
 - 
setSchemapublic void setSchema(Schema s) Description copied from interface:DataWriterAttach a schema to the writer. If the binding supports validation, it will validate the XML that it produces (assuming that it produces XML).- Specified by:
- setSchemain interface- DataWriter<Node>
- Parameters:
- s- the schema.
 
 - 
setAttachmentspublic void setAttachments(Collection<Attachment> attachments) Description copied from interface:DataWriterAttach a collection of attachments to this writer.- Specified by:
- setAttachmentsin interface- DataWriter<Node>
 
 - 
setPropertypublic void setProperty(String key, Object value) Description copied from interface:DataWriterSet a property for the writer.- Specified by:
- setPropertyin interface- DataWriter<Node>
- Parameters:
- key- property key
- value- property value.
 
 
- 
 
-