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 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
-
-
Field Summary
Fields Modifier and Type Field Description static String
SUBMISSION_SET_HAS_EXTRA_METADATA
-
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 XdsJaxbDataBinding()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>
getCamelHeaders(Object ebXml)
Returns a map of additional Camel headers for the given ebXML object.static boolean
isExtraMetadataSlotName(String name)
-
Methods inherited from class org.apache.cxf.jaxb.JAXBDataBinding
applyEscapeHandler, createJAXBContext, createJAXBContext, createJAXBContextAndSchemas, createReader, createWrapperHelper, createWriter, getConfiguredXmlAdapters, getContext, getContextClasses, getContextProperties, getEscapeHandler, getExtraClass, getMarshallerListener, getMarshallerProperties, getSupportedReaderFormats, getSupportedWriterFormats, getUnmarshallerListener, getUnmarshallerProperties, getValidationEventHandler, initialize, isUnwrapJAXBElement, 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 Detail
-
SUBMISSION_SET_HAS_EXTRA_METADATA
public static final String SUBMISSION_SET_HAS_EXTRA_METADATA
-
-
Method Detail
-
getCamelHeaders
public static Map<String,Object> getCamelHeaders(Object ebXml)
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
public static boolean isExtraMetadataSlotName(String name)
-
-