DataWriter (Apache CXF API 2.5.0.fuse-70-097 API)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.cxf.databinding
Interface DataWriter<T>

Type Parameters:
  `T` - The type of sink. Each data binding defines the set of sink types that it supports.

All Superinterfaces:
  BaseDataWriter

    public interface DataWriter<T>

extends BaseDataWriter

The 'write' side of the data binding abstraction of CXF. A DataWriter<T> serializes objects to a 'sink' of type T.

Field Summary
`static String` | `ENDPOINT`

Method Summary
`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.

Methods inherited from interface org.apache.cxf.databinding.BaseDataWriter
`setAttachments, setProperty, setSchema`

Field Detail

### ENDPOINT

    static final String ENDPOINT

Method Detail

### write

    void write(Object obj,
               T output)

  Write an object to an output sink.

  Parameters:
    `obj` - the object to write.
    `output` - the output sink.

### write

    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.

  Parameters:
    `obj` - The object to write.
    `part` - the message part.
    `output` - the output sink.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Apache CXF API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Apache CXF