Package org.apache.cxf.databinding.stax
Class StaxDataBinding.XMLStreamDataWriter
java.lang.Object
org.apache.cxf.databinding.stax.StaxDataBinding.XMLStreamDataWriter
- All Implemented Interfaces:
- DataWriter<XMLStreamWriter>
- Enclosing class:
- StaxDataBinding
public static class StaxDataBinding.XMLStreamDataWriter
extends Object
implements DataWriter<XMLStreamWriter>
- 
Field SummaryFields inherited from interface org.apache.cxf.databinding.DataWriterENDPOINT
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidsetAttachments(Collection<Attachment> attachments) Attach a collection of attachments to this writer.voidsetProperty(String key, Object value) Set a property for the writer.voidAttach a schema to the writer.voidwrite(Object obj, XMLStreamWriter writer) Write an object to an output sink.voidwrite(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.
- 
Constructor Details- 
XMLStreamDataWriterpublic XMLStreamDataWriter()
 
- 
- 
Method Details- 
writeDescription 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<XMLStreamWriter>
- Parameters:
- obj- The object to write.
- part- the message part.
- output- the output sink.
 
- 
writeDescription copied from interface:DataWriterWrite an object to an output sink.- Specified by:
- writein interface- DataWriter<XMLStreamWriter>
- Parameters:
- obj- the object to write.
- writer- the output sink.
 
- 
setSchemaDescription 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<XMLStreamWriter>
- Parameters:
- s- the schema.
 
- 
setAttachmentsDescription copied from interface:DataWriterAttach a collection of attachments to this writer.- Specified by:
- setAttachmentsin interface- DataWriter<XMLStreamWriter>
 
- 
setPropertyDescription copied from interface:DataWriterSet a property for the writer.- Specified by:
- setPropertyin interface- DataWriter<XMLStreamWriter>
- Parameters:
- key- property key
- value- property value.
 
 
-