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 org.apache.cxf.databinding.AbstractDataBinding |
addSchemaDocument, checkNamespaceMap, getBus, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLBEANS_NAMESPACE_HACK
public static final String XMLBEANS_NAMESPACE_HACK
XmlBeansDataBinding
public XmlBeansDataBinding()
createWriter
public <T> DataWriter<T> createWriter(Class<T> c)
- Specified by:
createWriter
in interface DataBinding
createReader
public <T> DataReader<T> createReader(Class<T> c)
- Specified by:
createReader
in interface DataBinding
getDeclaredNamespaceMappings
public Map<String,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 Class<?>[] getSupportedReaderFormats()
- Specified by:
getSupportedReaderFormats
in interface DataBinding
getSupportedWriterFormats
public 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(Class<?> wrapperType,
QName wrapperName,
List<String> partNames,
List<String> elTypeNames,
List<Class<?>> partClasses)
- Specified by:
createWrapperHelper
in interface WrapperCapableDatabinding
Apache CXF