public interface DataBinding
| Modifier and Type | Method and Description |
|---|---|
<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.
|
boolean |
isMtomEnabled() |
void |
setMtomEnabled(boolean enabled) |
void |
setMtomThreshold(int threshold)
If the binding supports MTOM, set the size threshold for its use.
|
<T> DataReader<T> createReader(java.lang.Class<T> cls)
<T> DataWriter<T> createWriter(java.lang.Class<T> cls)
java.lang.Class<?>[] getSupportedReaderFormats()
java.lang.Class<?>[] getSupportedWriterFormats()
void initialize(Service service)
service - java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaceMappings()
void setMtomEnabled(boolean enabled)
boolean isMtomEnabled()
void setMtomThreshold(int threshold)
threshold - int getMtomThreshold()