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>
Methods inherited from class org.apache.cxf.jaxb.JAXBDataBase |
getAttachmentMarshaller, getAttachments, getAttachmentUnmarshaller, getJAXBAnnotation, getJAXBContext, getMtomThreshold, getSchema, honorJAXBAnnotations, isOutputMessage, setAttachments, setJAXBContext, setMtomThreshold, setSchema |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataWriterImpl
public DataWriterImpl(JAXBDataBinding binding)
write
public void write(Object obj,
T output)
- Description copied from interface:
DataWriter
- Write an object to an output sink.
- Specified by:
write
in interface DataWriter<T>
- Parameters:
obj
- the object to write.output
- the output sink.
setProperty
public void setProperty(String prop,
Object value)
- Description copied from interface:
DataWriter
- Set a property for the writer.
- Specified by:
setProperty
in interface DataWriter<T>
- Overrides:
setProperty
in class JAXBDataBase
- Parameters:
prop
- property keyvalue
- property value.
createMarshaller
public Marshaller createMarshaller(Object elValue,
MessagePartInfo part)
write
public void write(Object obj,
MessagePartInfo part,
T output)
- Description copied from interface:
DataWriter
- Write an object to an output sink, including extra processing based on the WSDL
service model for a particular message part.
- Specified by:
write
in interface DataWriter<T>
- Parameters:
obj
- The object to write.part
- the message part.output
- the output sink.
Apache CXF