public interface DataBinding
Modifier and Type | Method and Description |
---|---|
<T> DataReader<T> |
createReader(Class<T> cls) |
<T> DataWriter<T> |
createWriter(Class<T> cls) |
Map<String,String> |
getDeclaredNamespaceMappings()
Return a set of mappings from namespace to prefix to allow bindings to control
the prefixes.
|
int |
getMtomThreshold() |
Class<?>[] |
getSupportedReaderFormats() |
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(Class<T> cls)
<T> DataWriter<T> createWriter(Class<T> cls)
Class<?>[] getSupportedReaderFormats()
Class<?>[] getSupportedWriterFormats()
void initialize(Service service)
service
- Map<String,String> getDeclaredNamespaceMappings()
void setMtomEnabled(boolean enabled)
boolean isMtomEnabled()
void setMtomThreshold(int threshold)
threshold
- int getMtomThreshold()
Copyright © 2017 JBoss by Red Hat. All rights reserved.