Package org.apache.cxf.aegis.databinding
Class XMLStreamDataWriter
java.lang.Object
org.apache.cxf.aegis.databinding.XMLStreamDataWriter
- All Implemented Interfaces:
DataWriter<XMLStreamWriter>
-
Field Summary
Fields inherited from interface org.apache.cxf.databinding.DataWriter
ENDPOINT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(String key) voidsetAttachments(Collection<Attachment> attachments) Attach a collection of attachments to this writer.voidsetProperty(String prop, Object value) Set a property for the writer.voidAttach a schema to the writer.voidwrite(Object obj, XMLStreamWriter output) 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
-
XMLStreamDataWriter
-
-
Method Details
-
setAttachments
Description copied from interface:DataWriterAttach a collection of attachments to this writer.- Specified by:
setAttachmentsin interfaceDataWriter<XMLStreamWriter>
-
setSchema
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 interfaceDataWriter<XMLStreamWriter>- Parameters:
s- the schema.
-
write
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 interfaceDataWriter<XMLStreamWriter>- Parameters:
obj- The object to write.part- the message part.output- the output sink.
-
write
Description copied from interface:DataWriterWrite an object to an output sink.- Specified by:
writein interfaceDataWriter<XMLStreamWriter>- Parameters:
obj- the object to write.output- the output sink.
-
setProperty
Description copied from interface:DataWriterSet a property for the writer.- Specified by:
setPropertyin interfaceDataWriter<XMLStreamWriter>- Parameters:
prop- property keyvalue- property value.
-
getProperty
-