Class XdsJaxbDataBinding
java.lang.Object
org.apache.cxf.databinding.AbstractDataBinding
org.apache.cxf.databinding.AbstractInterceptorProvidingDataBinding
org.apache.cxf.jaxb.JAXBDataBinding
org.openehealth.ipf.commons.ihe.xds.core.XdsJaxbDataBinding
- All Implemented Interfaces:
DataBinding
,WrapperCapableDatabinding
,InterceptorProvider
public class XdsJaxbDataBinding
extends org.apache.cxf.jaxb.JAXBDataBinding
Data binding specific for the XDS data model --- gathers some additional
information pieces for elements of request messages while they are being
unmarshalled from XML to ebXML POJOs. These information pieces are
intended to be propagated into Camel route as message headers.
- Author:
- Dmytro Rud
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
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
-
Method Summary
Modifier and TypeMethodDescriptiongetCamelHeaders
(Object ebXml) Returns a map of additional Camel headers for the given ebXML object.static boolean
Methods inherited from class org.apache.cxf.jaxb.JAXBDataBinding
applyEscapeHandler, createJAXBContext, createJAXBContext, createJAXBContextAndSchemas, createReader, createWrapperHelper, createWriter, getConfiguredXmlAdapters, getContext, getContextClasses, getContextProperties, getEscapeHandler, getExtraClass, getMarshallerListener, getMarshallerProperties, getNamespaceToUse, getQualifiedSchemas, getSupportedReaderFormats, getSupportedWriterFormats, 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
-
Field Details
-
SUBMISSION_SET_HAS_EXTRA_METADATA
-
-
Constructor Details
-
XdsJaxbDataBinding
public XdsJaxbDataBinding()
-
-
Method Details
-
getCamelHeaders
Returns a map of additional Camel headers for the given ebXML object.NB: not declared synchronized, because no ebXML object is supposed to be marshaled/unmarshaled from multiple threads.
- Parameters:
ebXml
- key object.- Returns:
- additional Camel headers as a map.
-
isExtraMetadataSlotName
-