Class AbstractImportCockpitMappingService

    • Field Detail

      • LOG

        protected static final org.apache.log4j.Logger LOG
      • JAXB_MAPPING_ROOT_TYPES

        public static final java.lang.Class[] JAXB_MAPPING_ROOT_TYPES
    • Constructor Detail

      • AbstractImportCockpitMappingService

        public AbstractImportCockpitMappingService()
    • Method Detail

      • setImportCockpitMappingDao

        public void setImportCockpitMappingDao​(ImportCockpitMappingDao importCockpitMappingDao)
      • setImportCockpitMediaService

        public void setImportCockpitMediaService​(ImportCockpitMediaService importCockpitMediaService)
      • getMediaService

        protected MediaService getMediaService()
      • setMediaService

        public void setMediaService​(MediaService mediaService)
      • getTypeService

        protected TypeService getTypeService()
      • setTypeService

        public void setTypeService​(TypeService typeService)
      • getModelService

        protected ModelService getModelService()
      • setModelService

        public void setModelService​(ModelService modelService)
      • setMappingLineConfigService

        public void setMappingLineConfigService​(MappingLineConfigService mappingLineConfigService)
      • setMappingLineTypeService

        public void setMappingLineTypeService​(MappingLineTypeService mappingLineTypeService)
      • createMappingXML

        protected java.lang.String createMappingXML​(MappingModel mappingModel)
        Transforms a mapping into a XML string.
        Parameters:
        mappingModel -
        Returns:
        XML string
      • getMappingXMLData

        protected java.io.Reader getMappingXMLData​(ImportCockpitMappingModel sourceMappingModel,
                                                   java.io.PushbackReader pushbackReader)
        Returns the stored mapping as a XML string.
        Parameters:
        sourceMappingModel - ,it is the ImportCockpitMapping
        Returns:
        mapping as stream
      • loadMappingFromXml

        protected MappingModel loadMappingFromXml​(java.io.Reader reader)
        Constructs a mapping object out of a XML string.
        Parameters:
        reader -
        Returns:
        mapping