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_HANDLER

    Fields inherited from class org.apache.cxf.databinding.AbstractInterceptorProvidingDataBinding

    inFaultInterceptors, inInterceptors, outFaultInterceptors, outInterceptors

    Fields inherited from class org.apache.cxf.databinding.AbstractDataBinding

    mtomEnabled, mtomThreshold
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> org.apache.cxf.databinding.DataReader<T>
     
    <T> org.apache.cxf.databinding.DataWriter<T>
     
    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, 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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider

    getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
  • Constructor Details

    • HybridSourceDataBinding

      public HybridSourceDataBinding()
  • Method Details

    • createReader

      public <T> org.apache.cxf.databinding.DataReader<T> createReader(Class<T> cls)
      Specified by:
      createReader in interface org.apache.cxf.databinding.DataBinding
      Overrides:
      createReader in class org.apache.cxf.jaxb.JAXBDataBinding
    • getSupportedReaderFormats

      public Class<?>[] getSupportedReaderFormats()
      Specified by:
      getSupportedReaderFormats in interface org.apache.cxf.databinding.DataBinding
      Overrides:
      getSupportedReaderFormats in class org.apache.cxf.jaxb.JAXBDataBinding
    • createWriter

      public <T> org.apache.cxf.databinding.DataWriter<T> createWriter(Class<T> cls)
      Specified by:
      createWriter in interface org.apache.cxf.databinding.DataBinding
      Overrides:
      createWriter in class org.apache.cxf.jaxb.JAXBDataBinding
    • getSupportedWriterFormats

      public Class<?>[] getSupportedWriterFormats()
      Specified by:
      getSupportedWriterFormats in interface org.apache.cxf.databinding.DataBinding
      Overrides:
      getSupportedWriterFormats in class org.apache.cxf.jaxb.JAXBDataBinding