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 BaseDataReader

All Known Subinterfaces:
  DataReader<T>

    public interface BaseDataReader

Non-parameterized base interface for DataReader<T>

Field Summary
`static java.lang.String` | `ENDPOINT`
`static java.lang.String` | `FAULT`

Method Summary
`void` | `setAttachments(java.util.Collection<Attachment> attachments)` Attach a collection of attachments to a binding.
`void` | `setProperty(java.lang.String prop, java.lang.Object value)` Set an arbitrary property on the reader.
`void` | `setSchema(javax.xml.validation.Schema s)` Supply a schema to validate the input.

Field Detail

### FAULT

    static final java.lang.String FAULT

### ENDPOINT

    static final java.lang.String ENDPOINT

Method Detail

### setSchema

    void setSchema(javax.xml.validation.Schema s)

  Supply a schema to validate the input. Bindings silently ignore this parameter if they do not support schema validation, or the particular form of validation implied by a particular form of Schema.

  Parameters:
    `s` -

### setAttachments

    void setAttachments(java.util.Collection<Attachment> attachments)

  Attach a collection of attachments to a binding. This permits a binding to process the contents of one or more attachments as part of reading from this reader.

  Parameters:
    `attachments` - attachments.

### setProperty

    void setProperty(java.lang.String prop,
                     java.lang.Object value)

  Set an arbitrary property on the reader. `FAULT` and `ENDPOINT` specify two common properties: the Fault object being read and the `Endpoint`.

  Parameters:
    `prop` - Name of the property.
    `value` - Value of the property.

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