public class HybridSourceDataBinding
extends org.apache.cxf.jaxb.JAXBDataBinding
JAXBDataBinding
and SourceDataBinding
.
Like the SourceDataBinding, this DataBinding de/serializes parameters as DOMSource objects. And like the JAXBDataBinding, the
JAXBDataBinding.initialize(org.apache.cxf.service.Service)
method can initialize the service model's message part schema based on the service class in the message part info.
Hence, this DataBinding supports DOMSource object de/serialization without requiring users to provide a WSDL.JAXB_SCAN_PACKAGES, MTOM_THRESHOLD, READER_VALIDATION_EVENT_HANDLER, SCHEMA_RESOURCE, SET_VALIDATION_EVENT_HANDLER, UNWRAP_JAXB_ELEMENT, USE_JAXB_BRIDGE, VALIDATION_EVENT_HANDLER, WRITER_VALIDATION_EVENT_HANDLER
Constructor and Description |
---|
HybridSourceDataBinding() |
Modifier and Type | Method and Description |
---|---|
<T> org.apache.cxf.databinding.DataReader<T> |
createReader(Class<T> cls) |
<T> org.apache.cxf.databinding.DataWriter<T> |
createWriter(Class<T> cls) |
Class<?>[] |
getSupportedReaderFormats() |
Class<?>[] |
getSupportedWriterFormats() |
createJAXBContext, createJAXBContext, createJAXBContextAndSchemas, createWrapperHelper, getConfiguredXmlAdapters, getContext, getContextClasses, getContextProperties, getExtraClass, getMarshallerListener, getMarshallerProperties, getUnmarshallerListener, getUnmarshallerProperties, getValidationEventHandler, initialize, isUnwrapJAXBElement, setConfiguredXmlAdapters, setContext, setContextProperties, setExtraClass, setMarshallerListener, setMarshallerProperties, setUnmarshallerListener, setUnmarshallerProperties, setUnwrapJAXBElement, setValidationEventHandler
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getContextualNamespaceMap, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setContextualNamespaceMap, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation
public <T> org.apache.cxf.databinding.DataReader<T> createReader(Class<T> cls)
createReader
in interface org.apache.cxf.databinding.DataBinding
createReader
in class org.apache.cxf.jaxb.JAXBDataBinding
public Class<?>[] getSupportedReaderFormats()
getSupportedReaderFormats
in interface org.apache.cxf.databinding.DataBinding
getSupportedReaderFormats
in class org.apache.cxf.jaxb.JAXBDataBinding
public <T> org.apache.cxf.databinding.DataWriter<T> createWriter(Class<T> cls)
createWriter
in interface org.apache.cxf.databinding.DataBinding
createWriter
in class org.apache.cxf.jaxb.JAXBDataBinding
public Class<?>[] getSupportedWriterFormats()
getSupportedWriterFormats
in interface org.apache.cxf.databinding.DataBinding
getSupportedWriterFormats
in class org.apache.cxf.jaxb.JAXBDataBinding
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.