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 of
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.-
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_HANDLERFields inherited from class org.apache.cxf.databinding.AbstractInterceptorProvidingDataBinding
inFaultInterceptors, inInterceptors, outFaultInterceptors, outInterceptorsFields inherited from class org.apache.cxf.databinding.AbstractDataBinding
mtomEnabled, mtomThreshold -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> org.apache.cxf.databinding.DataReader<T>createReader(Class<T> cls) <T> org.apache.cxf.databinding.DataWriter<T>createWriter(Class<T> cls) Class<?>[]Class<?>[]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, setValidationEventHandlerMethods inherited from class org.apache.cxf.databinding.AbstractInterceptorProvidingDataBinding
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptorsMethods inherited from class org.apache.cxf.databinding.AbstractDataBinding
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getContextualNamespaceMap, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setContextualNamespaceMap, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.interceptor.InterceptorProvider
getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
-
Constructor Details
-
HybridSourceDataBinding
public HybridSourceDataBinding()
-
-
Method Details
-
createReader
- Specified by:
createReaderin interfaceorg.apache.cxf.databinding.DataBinding- Overrides:
createReaderin classorg.apache.cxf.jaxb.JAXBDataBinding
-
getSupportedReaderFormats
- Specified by:
getSupportedReaderFormatsin interfaceorg.apache.cxf.databinding.DataBinding- Overrides:
getSupportedReaderFormatsin classorg.apache.cxf.jaxb.JAXBDataBinding
-
createWriter
- Specified by:
createWriterin interfaceorg.apache.cxf.databinding.DataBinding- Overrides:
createWriterin classorg.apache.cxf.jaxb.JAXBDataBinding
-
getSupportedWriterFormats
- Specified by:
getSupportedWriterFormatsin interfaceorg.apache.cxf.databinding.DataBinding- Overrides:
getSupportedWriterFormatsin classorg.apache.cxf.jaxb.JAXBDataBinding
-