Class HybridSourceDataBinding
- java.lang.Object
-
- org.apache.cxf.databinding.AbstractDataBinding
-
- org.apache.cxf.databinding.AbstractInterceptorProvidingDataBinding
-
- org.apache.cxf.jaxb.JAXBDataBinding
-
- org.apache.camel.component.cxf.jaxws.HybridSourceDataBinding
-
- All Implemented Interfaces:
org.apache.cxf.databinding.DataBinding
,org.apache.cxf.databinding.WrapperCapableDatabinding
,org.apache.cxf.interceptor.InterceptorProvider
public class HybridSourceDataBinding extends org.apache.cxf.jaxb.JAXBDataBinding
This is a hybrid DataBinding ofJAXBDataBinding
andSourceDataBinding
. Like the SourceDataBinding, this DataBinding de/serializes parameters as DOMSource objects. And like the JAXBDataBinding, theJAXBDataBinding.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.
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.jaxb.JAXBDataBinding
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 Summary
Constructors Constructor Description HybridSourceDataBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class org.apache.cxf.jaxb.JAXBDataBinding
applyEscapeHandler, createJAXBContext, createJAXBContext, createJAXBContextAndSchemas, createWrapperHelper, getConfiguredXmlAdapters, getContext, getContextClasses, getContextProperties, getEscapeHandler, getExtraClass, getMarshallerListener, getMarshallerProperties, getNamespaceToUse, getQualifiedSchemas, getUnmarshallerListener, getUnmarshallerProperties, getValidationEventHandler, initialize, isInBuiltInSchemas, isUnwrapJAXBElement, justCheckForJAXBAnnotations, setConfiguredXmlAdapters, setContext, setContextProperties, setEscapeHandler, setExtraClass, setMarshallerListener, setMarshallerProperties, setUnmarshallerListener, setUnmarshallerProperties, setUnwrapJAXBElement, setValidationEventHandler
-
Methods inherited from class org.apache.cxf.databinding.AbstractInterceptorProvidingDataBinding
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
-
Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getContextualNamespaceMap, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setContextualNamespaceMap, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation
-
-
-
-
Method Detail
-
createReader
public <T> org.apache.cxf.databinding.DataReader<T> createReader(Class<T> cls)
- Specified by:
createReader
in interfaceorg.apache.cxf.databinding.DataBinding
- Overrides:
createReader
in classorg.apache.cxf.jaxb.JAXBDataBinding
-
getSupportedReaderFormats
public Class<?>[] getSupportedReaderFormats()
- Specified by:
getSupportedReaderFormats
in interfaceorg.apache.cxf.databinding.DataBinding
- Overrides:
getSupportedReaderFormats
in classorg.apache.cxf.jaxb.JAXBDataBinding
-
createWriter
public <T> org.apache.cxf.databinding.DataWriter<T> createWriter(Class<T> cls)
- Specified by:
createWriter
in interfaceorg.apache.cxf.databinding.DataBinding
- Overrides:
createWriter
in classorg.apache.cxf.jaxb.JAXBDataBinding
-
getSupportedWriterFormats
public Class<?>[] getSupportedWriterFormats()
- Specified by:
getSupportedWriterFormats
in interfaceorg.apache.cxf.databinding.DataBinding
- Overrides:
getSupportedWriterFormats
in classorg.apache.cxf.jaxb.JAXBDataBinding
-
-