Apache CXF API

org.apache.cxf.xmlbeans
Class XmlBeansDataBinding

java.lang.Object
  extended by org.apache.cxf.databinding.AbstractDataBinding
      extended by org.apache.cxf.xmlbeans.XmlBeansDataBinding
All Implemented Interfaces:
DataBinding

public class XmlBeansDataBinding
extends AbstractDataBinding


Field Summary
 
Fields inherited from class org.apache.cxf.databinding.AbstractDataBinding
mtomThreshold
 
Constructor Summary
XmlBeansDataBinding()
           
 
Method Summary
<T> DataReader<T>
createReader(java.lang.Class<T> c)
           
<T> DataWriter<T>
createWriter(java.lang.Class<T> c)
           
 java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaceMappings()
          XmlBeans has no declared namespace prefixes.
 java.lang.Class<?>[] getSupportedReaderFormats()
           
 java.lang.Class<?>[] getSupportedWriterFormats()
           
 void initialize(Service service)
          Initialize the service info (i.e.
 
Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding
addSchemaDocument, checkNamespaceMap, getMtomThreshold, getNamespaceMap, getSchemas, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlBeansDataBinding

public XmlBeansDataBinding()
Method Detail

createWriter

public <T> DataWriter<T> createWriter(java.lang.Class<T> c)

createReader

public <T> DataReader<T> createReader(java.lang.Class<T> c)

getDeclaredNamespaceMappings

public java.util.Map<java.lang.String,java.lang.String> getDeclaredNamespaceMappings()
XmlBeans has no declared namespace prefixes. Provide explicit mappings to ReflectionServiceFactory. Return a set of mappings from namespace to prefix to allow bindings to control the prefixes.

Specified by:
getDeclaredNamespaceMappings in interface DataBinding
Overrides:
getDeclaredNamespaceMappings in class AbstractDataBinding
Returns:
the map, or null if there are none.

getSupportedReaderFormats

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

getSupportedWriterFormats

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

initialize

public void initialize(Service service)
Description copied from interface: DataBinding
Initialize the service info (i.e. type & element names, Schemas) with information from the databinding.


Apache CXF API

Apache CXF