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>
|
Constructor Summary |
DataWriterImpl(javax.xml.bind.JAXBContext ctx,
java.util.Map<java.lang.String,java.lang.Object> marshallerProperties,
java.util.Set<java.lang.Class<?>> contextClasses)
|
DataWriterImpl(javax.xml.bind.JAXBContext ctx,
java.util.Set<java.lang.Class<?>> contextClasses)
|
|
Method Summary |
java.util.Map<java.lang.String,java.lang.Object> |
getMarshallerProperties()
|
void |
setMarshallerProperties(java.util.Map<java.lang.String,java.lang.Object> marshallerProperties)
|
void |
write(java.lang.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(java.lang.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, setAttachments, setJAXBContext, setMtomThreshold, setProperty, setSchema |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataWriterImpl
public DataWriterImpl(javax.xml.bind.JAXBContext ctx,
java.util.Set<java.lang.Class<?>> contextClasses)
DataWriterImpl
public DataWriterImpl(javax.xml.bind.JAXBContext ctx,
java.util.Map<java.lang.String,java.lang.Object> marshallerProperties,
java.util.Set<java.lang.Class<?>> contextClasses)
write
public void write(java.lang.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.
write
public void write(java.lang.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.
getMarshallerProperties
public java.util.Map<java.lang.String,java.lang.Object> getMarshallerProperties()
setMarshallerProperties
public void setMarshallerProperties(java.util.Map<java.lang.String,java.lang.Object> marshallerProperties)
Apache CXF