org.apache.cxf.xmlbeans
Class XmlBeansDataBinding
java.lang.Object
org.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.xmlbeans.XmlBeansDataBinding
- All Implemented Interfaces:
- DataBinding, WrapperCapableDatabinding
public class XmlBeansDataBinding
- extends AbstractDataBinding
- implements WrapperCapableDatabinding
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBEANS_NAMESPACE_HACK
public static final java.lang.String XMLBEANS_NAMESPACE_HACK
XmlBeansDataBinding
public XmlBeansDataBinding()
createWriter
public <T> DataWriter<T> createWriter(java.lang.Class<T> c)
- Specified by:
createWriter
in interface DataBinding
createReader
public <T> DataReader<T> createReader(java.lang.Class<T> c)
- Specified by:
createReader
in interface DataBinding
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()
- Specified by:
getSupportedReaderFormats
in interface DataBinding
getSupportedWriterFormats
public java.lang.Class<?>[] getSupportedWriterFormats()
- Specified by:
getSupportedWriterFormats
in interface DataBinding
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.
- Specified by:
initialize
in interface DataBinding
createWrapperHelper
public WrapperHelper createWrapperHelper(java.lang.Class<?> wrapperType,
java.util.List<java.lang.String> partNames,
java.util.List<java.lang.String> elTypeNames,
java.util.List<java.lang.Class<?>> partClasses)
- Specified by:
createWrapperHelper
in interface WrapperCapableDatabinding
Apache CXF