public class DataWriterImpl<T> extends JAXBDataBase implements DataWriter<T>
attachments, context, mtomThreshold, schema
ENDPOINT
Constructor and Description |
---|
DataWriterImpl(Bus bus,
JAXBDataBinding binding) |
DataWriterImpl(Bus bus,
JAXBDataBinding binding,
boolean noEsc) |
Modifier and Type | Method and Description |
---|---|
Marshaller |
createMarshaller(Object elValue,
MessagePartInfo part) |
void |
setProperty(String prop,
Object value)
Set a property for the writer.
|
void |
write(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.
|
void |
write(Object obj,
T output)
Write an object to an output sink.
|
getAttachmentMarshaller, getAttachments, getAttachmentUnmarshaller, getJAXBAnnotation, getJAXBContext, getMtomThreshold, getSchema, getValidationEventHandler, getValidationEventHandler, honorJAXBAnnotations, isOutputMessage, setAttachments, setJAXBContext, setMtomThreshold, setSchema
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setAttachments, setSchema
public DataWriterImpl(Bus bus, JAXBDataBinding binding)
public DataWriterImpl(Bus bus, JAXBDataBinding binding, boolean noEsc)
public void write(Object obj, T output)
DataWriter
write
in interface DataWriter<T>
obj
- the object to write.output
- the output sink.public void setProperty(String prop, Object value)
DataWriter
setProperty
in interface DataWriter<T>
setProperty
in class JAXBDataBase
prop
- property keyvalue
- property value.public Marshaller createMarshaller(Object elValue, MessagePartInfo part)
public void write(Object obj, MessagePartInfo part, T output)
DataWriter
write
in interface DataWriter<T>
obj
- The object to write.part
- the message part.output
- the output sink.Apache CXF