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 DataBinding

All Known Implementing Classes:
  AbstractDataBinding

    public interface DataBinding

Method Summary
`
`<T> DataReader<T>`
` | `createReader(java.lang.Class<T> cls)`
`
`<T> DataWriter<T>`
` | `createWriter(java.lang.Class<T> cls)`
`java.util.Map<java.lang.String,java.lang.String>` | `getDeclaredNamespaceMappings()` Return a set of mappings from namespace to prefix to allow bindings to control the prefixes.
`int` | `getMtomThreshold()`
`java.lang.Class<?>[]` | `getSupportedReaderFormats()`
`java.lang.Class<?>[]` | `getSupportedWriterFormats()`
`void` | `initialize(Service service)` Initialize the service info (i.e.
`void` | `setMtomThreshold(int threshold)` If the binding supports MTOM, set the size threshold for its use.

Method Detail

### createReader

    <T> DataReader<T> createReader(java.lang.Class<T> cls)

### createWriter

    <T> DataWriter<T> createWriter(java.lang.Class<T> cls)

### getSupportedReaderFormats

    java.lang.Class<?>[] getSupportedReaderFormats()

### getSupportedWriterFormats

    java.lang.Class<?>[] getSupportedWriterFormats()

### initialize

    void initialize(Service service)

  Initialize the service info (i.e. type & element names, Schemas) with information from the databinding.

  Parameters:
    `service` -

### getDeclaredNamespaceMappings

    java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaceMappings()

  Return a set of mappings from namespace to prefix to allow bindings to control the prefixes.

  Returns:
    the map, or null if there are none.

### setMtomThreshold

    void setMtomThreshold(int threshold)

  If the binding supports MTOM, set the size threshold for its use. may be overridden by (e.g.) JAXWS configuration.

  Parameters:
    `threshold` -

### getMtomThreshold

    int getMtomThreshold()

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