BaseDataWriter (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 BaseDataWriter

All Known Subinterfaces:
  DataWriter<T>

    public interface BaseDataWriter

The 'write' side of the data binding abstraction of CXF.

Field Summary
`static String` | `ENDPOINT`

Method Summary
`void` | `setAttachments(Collection<Attachment> attachments)` Attach a collection of attachments to this writer.
`void` | `setProperty(String key, Object value)` Set a property for the writer.
`void` | `setSchema(Schema s)` Attach a schema to the writer.

Field Detail

### ENDPOINT

    static final String ENDPOINT

Method Detail

### setSchema

    void setSchema(Schema s)

  Attach a schema to the writer. If the binding supports validation, it will validate the XML that it produces (assuming that it produces XML).

  Parameters:
    `s` - the schema.

### setAttachments

    void setAttachments(Collection<Attachment> attachments)

  Attach a collection of attachments to this writer.

  Parameters:
    `attachments` -

### setProperty

    void setProperty(String key,
                     Object value)

  Set a property for the writer.

  Parameters:
    `key` - property key
    `value` - property value.

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