org.apache.cxf.jaxb.io
Class DataWriterImpl<T>

java.lang.Object
  extended by org.apache.cxf.jaxb.JAXBDataBase
      extended by org.apache.cxf.jaxb.io.DataWriterImpl<T>
All Implemented Interfaces:
org.apache.cxf.databinding.BaseDataWriter, org.apache.cxf.databinding.DataWriter<T>

public class DataWriterImpl<T>
extends JAXBDataBase
implements org.apache.cxf.databinding.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
DataWriterImpl(JAXBDataBinding binding)
           
 
Method Summary
 Marshaller createMarshaller(Object elValue, org.apache.cxf.service.model.MessagePartInfo part)
           
 void setProperty(String prop, Object value)
           
 void write(Object obj, org.apache.cxf.service.model.MessagePartInfo part, T output)
           
 void write(Object obj, T output)
           
 
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
 
Methods inherited from interface org.apache.cxf.databinding.BaseDataWriter
setAttachments, setSchema
 

Constructor Detail

DataWriterImpl

public DataWriterImpl(JAXBDataBinding binding)
Method Detail

write

public void write(Object obj,
                  T output)
Specified by:
write in interface org.apache.cxf.databinding.DataWriter<T>

setProperty

public void setProperty(String prop,
                        Object value)
Specified by:
setProperty in interface org.apache.cxf.databinding.BaseDataWriter
Overrides:
setProperty in class JAXBDataBase

createMarshaller

public Marshaller createMarshaller(Object elValue,
                                   org.apache.cxf.service.model.MessagePartInfo part)

write

public void write(Object obj,
                  org.apache.cxf.service.model.MessagePartInfo part,
                  T output)
Specified by:
write in interface org.apache.cxf.databinding.DataWriter<T>


Apache CXF