Class ProcessModelXMLExportTools


  • public class ProcessModelXMLExportTools
    extends XMLExportTools
    Helper methods for the XML export of process model classes, i.e. methods to create single xml element objects.
    Author:
    Kevin Goeser
    • Constructor Detail

      • ProcessModelXMLExportTools

        public ProcessModelXMLExportTools()
    • Method Detail

      • createEmbeddedTemplateMappingElement

        public static Element createEmbeddedTemplateMappingElement​(Document document,
                                                                   Map<UUID,​UUID> mapping)
        Create a embedded template ID mapping element with the given ID mapping
        Parameters:
        document -
        mapping - - The embedded IDs mapping to their parent IDs
        Returns:
        the created Element
      • createBaseTemplateMappingElement

        public static Element createBaseTemplateMappingElement​(Document document,
                                                               Map<UUID,​UUID> mapping)
        Create a baseBase template ID mapping element with the given ID mapping
        Parameters:
        document -
        mapping - - The template IDs mapping to their base template IDs
        Returns:
        the created Element
      • createAdhocTemplateMappingElement

        public static Element createAdhocTemplateMappingElement​(Document document,
                                                                Map<UUID,​UUID> mapping)
        Create a adhoc template ID mapping element with the given ID mapping
        Parameters:
        document -
        mapping - - The adhoc template IDs mapping to their instance IDs
        Returns:
        the created Element
      • createTemplateInformationsElement

        public static Element createTemplateInformationsElement​(Document document,
                                                                Map<UUID,​ProcessModelXMLHelperTools.TemplateInformation> items)
        Create a template informations element containing all specified template informations.
        Parameters:
        document -
        items - - Map from ID of template to template information for this template
        Returns:
        the created Element