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:
org.apache.cxf.databinding.DataBinding, org.apache.cxf.databinding.WrapperCapableDatabinding, org.apache.cxf.interceptor.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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    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
    static Map<String,Object>
    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

      public static final String SUBMISSION_SET_HAS_EXTRA_METADATA
  • Constructor Details

    • XdsJaxbDataBinding

      public XdsJaxbDataBinding()
  • Method Details

    • 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)