|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - The type of sink. Each data binding defines the set of sink types that it supports.public interface DataWriter<T>
The 'write' side of the data binding abstraction of CXF. A DataWriter<T> serializes objects to a 'sink' of type T.
| Field Summary | |
|---|---|
static java.lang.String |
ENDPOINT
|
| Method Summary | |
|---|---|
void |
setAttachments(java.util.Collection<Attachment> attachments)
Attach a collection of attachments to this writer. |
void |
setProperty(java.lang.String key,
java.lang.Object value)
Set a property for the writer. |
void |
setSchema(javax.xml.validation.Schema s)
Attach a schema to the writer. |
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. |
| Field Detail |
|---|
static final java.lang.String ENDPOINT
| Method Detail |
|---|
void write(java.lang.Object obj,
T output)
obj - the object to write.output - the output sink.
void write(java.lang.Object obj,
MessagePartInfo part,
T output)
obj - The object to write.part - the message part.output - the output sink.void setSchema(javax.xml.validation.Schema s)
s - the schema.void setAttachments(java.util.Collection<Attachment> attachments)
attachments -
void setProperty(java.lang.String key,
java.lang.Object value)
key - property keyvalue - property value.
|
Apache CXF API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||