Package org.apache.cxf.jaxb.io
Class DataWriterImpl<T>
java.lang.Object
org.apache.cxf.jaxb.JAXBDataBase
org.apache.cxf.jaxb.io.DataWriterImpl<T>
- All Implemented Interfaces:
DataWriter<T>
-
Field Summary
Fields inherited from class org.apache.cxf.jaxb.JAXBDataBase
attachments, context, mtomThreshold, schemaFields inherited from interface org.apache.cxf.databinding.DataWriter
ENDPOINT -
Constructor Summary
ConstructorsConstructorDescriptionDataWriterImpl(Bus bus, JAXBDataBinding binding) DataWriterImpl(Bus bus, JAXBDataBinding binding, boolean noEsc) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.xml.bind.MarshallercreateMarshaller(Object elValue, MessagePartInfo part) voidsetProperty(String prop, Object value) Set a property for the writer.voidwrite(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.voidWrite an object to an output sink.Methods inherited from class org.apache.cxf.jaxb.JAXBDataBase
getAttachmentMarshaller, getAttachments, getAttachmentUnmarshaller, getJAXBAnnotation, getJAXBContext, getMtomThreshold, getSchema, getValidationEventHandler, getValidationEventHandler, honorJAXBAnnotations, isOutputMessage, setAttachments, setJAXBContext, setMtomThreshold, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.databinding.DataWriter
setAttachments, setSchema
-
Constructor Details
-
DataWriterImpl
-
DataWriterImpl
-
-
Method Details
-
write
Description copied from interface:DataWriterWrite an object to an output sink.- Specified by:
writein interfaceDataWriter<T>- 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<T>- Overrides:
setPropertyin classJAXBDataBase- Parameters:
prop- property keyvalue- property value.
-
createMarshaller
-
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<T>- Parameters:
obj- The object to write.part- the message part.output- the output sink.
-