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>
public class DataWriterImpl<T> extends JAXBDataBase implements DataWriter<T>
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.jaxb.JAXBDataBase
attachments, context, mtomThreshold, schema
-
Fields inherited from interface org.apache.cxf.databinding.DataWriter
ENDPOINT
-
-
Constructor Summary
Constructors Constructor Description DataWriterImpl(Bus bus, JAXBDataBinding binding)DataWriterImpl(Bus bus, JAXBDataBinding binding, boolean noEsc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.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(Object obj, T output)Write 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, setSchema
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.databinding.DataWriter
setAttachments, setSchema
-
-
-
-
Constructor Detail
-
DataWriterImpl
public DataWriterImpl(Bus bus, JAXBDataBinding binding)
-
DataWriterImpl
public DataWriterImpl(Bus bus, JAXBDataBinding binding, boolean noEsc)
-
-
Method Detail
-
write
public void write(Object obj, T output)
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
public void setProperty(String prop, Object value)
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
public javax.xml.bind.Marshaller createMarshaller(Object elValue, MessagePartInfo part)
-
write
public void write(Object obj, MessagePartInfo part, T 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 interfaceDataWriter<T>- Parameters:
obj- The object to write.part- the message part.output- the output sink.
-
-