public abstract class AbstractDataBinding extends Object implements DataBinding
Modifier and Type | Field and Description |
---|---|
protected boolean |
mtomEnabled |
protected int |
mtomThreshold |
Constructor and Description |
---|
AbstractDataBinding() |
Modifier and Type | Method and Description |
---|---|
org.apache.ws.commons.schema.XmlSchema |
addSchemaDocument(ServiceInfo serviceInfo,
SchemaCollection col,
Document d,
String systemId) |
org.apache.ws.commons.schema.XmlSchema |
addSchemaDocument(ServiceInfo serviceInfo,
SchemaCollection col,
Document d,
String systemId,
Collection<String> ids) |
protected static void |
checkNamespaceMap(Map<String,String> namespaceMap) |
protected Bus |
getBus() |
Map<String,String> |
getContextualNamespaceMap() |
Map<String,String> |
getDeclaredNamespaceMappings()
Provide explicit mappings to ReflectionServiceFactory.
|
int |
getMtomThreshold() |
Map<String,String> |
getNamespaceMap() |
Collection<DOMSource> |
getSchemas() |
boolean |
isMtomEnabled() |
void |
setBus(Bus bus)
This call is used to set the bus.
|
void |
setContextualNamespaceMap(Map<String,String> contextualNamespaceMap) |
void |
setMtomEnabled(boolean enabled) |
void |
setMtomThreshold(int threshold)
If the binding supports MTOM, set the size threshold for its use.
|
void |
setNamespaceMap(Map<String,String> namespaceMap)
Set a map of from URI to prefix.
|
void |
setSchemas(Collection<DOMSource> schemas) |
protected void |
updateSchemaLocation(Element e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createReader, createWriter, getSupportedReaderFormats, getSupportedWriterFormats, initialize
protected Bus getBus()
public void setBus(Bus bus)
bus
- public Collection<DOMSource> getSchemas()
public void setSchemas(Collection<DOMSource> schemas)
public org.apache.ws.commons.schema.XmlSchema addSchemaDocument(ServiceInfo serviceInfo, SchemaCollection col, Document d, String systemId)
public org.apache.ws.commons.schema.XmlSchema addSchemaDocument(ServiceInfo serviceInfo, SchemaCollection col, Document d, String systemId, Collection<String> ids)
protected void updateSchemaLocation(Element e)
public Map<String,String> getNamespaceMap()
public void setNamespaceMap(Map<String,String> namespaceMap)
namespaceMap
- The namespaceMap to set.public void setContextualNamespaceMap(Map<String,String> contextualNamespaceMap)
public Map<String,String> getDeclaredNamespaceMappings()
getDeclaredNamespaceMappings
in interface DataBinding
public void setMtomEnabled(boolean enabled)
setMtomEnabled
in interface DataBinding
public boolean isMtomEnabled()
isMtomEnabled
in interface DataBinding
public int getMtomThreshold()
getMtomThreshold
in interface DataBinding
public void setMtomThreshold(int threshold)
DataBinding
setMtomThreshold
in interface DataBinding
Apache CXF