|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.jaxb.JAXBDataBinding
org.apache.camel.component.cxf.HybridSourceDataBinding
public class HybridSourceDataBinding
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, SCHEMA_RESOURCE, UNWRAP_JAXB_ELEMENT, USE_JAXB_BRIDGE |
| Fields inherited from class org.apache.cxf.databinding.AbstractDataBinding |
|---|
mtomEnabled, mtomThreshold |
| Constructor Summary | |
|---|---|
HybridSourceDataBinding()
|
|
| Method Summary | ||
|---|---|---|
|
createReader(Class<T> cls)
|
|
|
createWriter(Class<T> cls)
|
|
Class<?>[] |
getSupportedReaderFormats()
|
|
Class<?>[] |
getSupportedWriterFormats()
|
|
| Methods inherited from class org.apache.cxf.jaxb.JAXBDataBinding |
|---|
createJAXBContext, createJAXBContext, createJAXBContextAndSchemas, createWrapperHelper, getContext, getContextClasses, getContextProperties, getExtraClass, getInFaultInterceptors, getInInterceptors, getMarshallerListener, getMarshallerProperties, getOutFaultInterceptors, getOutInterceptors, getUnmarshallerListener, getUnmarshallerProperties, getValidationEventHandler, initialize, isUnwrapJAXBElement, setContext, setContextProperties, setExtraClass, setMarshallerListener, setMarshallerProperties, setUnmarshallerListener, setUnmarshallerProperties, setUnwrapJAXBElement, setValidationEventHandler |
| Methods inherited from class org.apache.cxf.databinding.AbstractDataBinding |
|---|
addSchemaDocument, addSchemaDocument, checkNamespaceMap, getBus, getDeclaredNamespaceMappings, getMtomThreshold, getNamespaceMap, getSchemas, isMtomEnabled, setBus, setMtomEnabled, setMtomThreshold, setNamespaceMap, setSchemas, updateSchemaLocation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HybridSourceDataBinding()
| Method Detail |
|---|
public <T> org.apache.cxf.databinding.DataReader<T> createReader(Class<T> cls)
createReader in interface org.apache.cxf.databinding.DataBindingcreateReader in class org.apache.cxf.jaxb.JAXBDataBindingpublic Class<?>[] getSupportedReaderFormats()
getSupportedReaderFormats in interface org.apache.cxf.databinding.DataBindinggetSupportedReaderFormats in class org.apache.cxf.jaxb.JAXBDataBindingpublic <T> org.apache.cxf.databinding.DataWriter<T> createWriter(Class<T> cls)
createWriter in interface org.apache.cxf.databinding.DataBindingcreateWriter in class org.apache.cxf.jaxb.JAXBDataBindingpublic Class<?>[] getSupportedWriterFormats()
getSupportedWriterFormats in interface org.apache.cxf.databinding.DataBindinggetSupportedWriterFormats in class org.apache.cxf.jaxb.JAXBDataBinding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||