Class 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
    • 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
      • Methods inherited from interface org.apache.cxf.interceptor.InterceptorProvider

        getInFaultInterceptors, getInInterceptors, getOutFaultInterceptors, getOutInterceptors
    • Constructor Detail

      • HybridSourceDataBinding

        public HybridSourceDataBinding()
    • Method Detail

      • 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