org.apache.cxf.databinding
Class AbstractDataBinding
java.lang.Object
   org.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.databinding.AbstractDataBinding
- All Implemented Interfaces: 
- DataBinding
- public abstract class AbstractDataBinding 
- extends java.lang.Object- implements DataBinding
Supply default implementations, as appropriate, for DataBinding.
 
 
| Method Summary | 
|  org.apache.ws.commons.schema.XmlSchema | addSchemaDocument(ServiceInfo serviceInfo,
                  org.apache.cxf.common.xmlschema.SchemaCollection col,
                  org.w3c.dom.Document d,
                  java.lang.String systemId)
 | 
| protected static void | checkNamespaceMap(java.util.Map<java.lang.String,java.lang.String> namespaceMap)
 | 
|  java.util.Map<java.lang.String,java.lang.String> | getDeclaredNamespaceMappings()Provide explicit mappings to ReflectionServiceFactory.
 | 
|  int | getMtomThreshold()
 | 
|  java.util.Map<java.lang.String,java.lang.String> | getNamespaceMap()
 | 
|  java.util.Collection<javax.xml.transform.dom.DOMSource> | getSchemas()
 | 
|  void | setMtomThreshold(int threshold)If the binding supports MTOM, set the size threshold for its use.
 | 
|  void | setNamespaceMap(java.util.Map<java.lang.String,java.lang.String> namespaceMap)
 | 
|  void | setSchemas(java.util.Collection<javax.xml.transform.dom.DOMSource> schemas)
 | 
| protected  void | updateSchemaLocation(org.w3c.dom.Element e)
 | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
 
mtomThreshold
protected int mtomThreshold
AbstractDataBinding
public AbstractDataBinding()
getSchemas
public java.util.Collection<javax.xml.transform.dom.DOMSource> getSchemas()
- 
 
- 
 
setSchemas
public void setSchemas(java.util.Collection<javax.xml.transform.dom.DOMSource> schemas)
- 
 
- 
 
addSchemaDocument
public org.apache.ws.commons.schema.XmlSchema addSchemaDocument(ServiceInfo serviceInfo,
                                                                org.apache.cxf.common.xmlschema.SchemaCollection col,
                                                                org.w3c.dom.Document d,
                                                                java.lang.String systemId)
- 
 
- 
 
updateSchemaLocation
protected void updateSchemaLocation(org.w3c.dom.Element e)
- 
 
- 
 
getNamespaceMap
public java.util.Map<java.lang.String,java.lang.String> getNamespaceMap()
- 
 
- 
- Returns:
- Returns the namespaceMap.
 
setNamespaceMap
public void setNamespaceMap(java.util.Map<java.lang.String,java.lang.String> namespaceMap)
- 
 
- 
- Parameters:
- namespaceMap- The namespaceMap to set.
 
getDeclaredNamespaceMappings
public java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaceMappings()
- Provide explicit mappings to ReflectionServiceFactory.
 Return a set of mappings from namespace to prefix to allow bindings to control
 the prefixes.
 
- 
- Specified by:
- getDeclaredNamespaceMappingsin interface- DataBinding
 
- 
- Returns:
- the map, or null if there are none.
 
checkNamespaceMap
protected static void checkNamespaceMap(java.util.Map<java.lang.String,java.lang.String> namespaceMap)
- 
 
- 
 
getMtomThreshold
public int getMtomThreshold()
- 
- Specified by:
- getMtomThresholdin interface- DataBinding
 
- 
 
setMtomThreshold
public void setMtomThreshold(int threshold)
- Description copied from interface: DataBinding
- If the binding supports MTOM, set the size threshold for its use.
 may be overridden by (e.g.) JAXWS configuration.
 
- 
- Specified by:
- setMtomThresholdin interface- DataBinding
 
- 
 
Apache CXF