Package jadex.bpmn

Class BpmnXMLReader


  • public class BpmnXMLReader
    extends java.lang.Object
    Reader for loading Bpmn XML models into a Java representation states.
    • Field Detail

      • CONTEXT_ENTRIES

        public static final java.lang.String CONTEXT_ENTRIES
        Key for error entries in read context.
        See Also:
        Constant Field Values
      • SEQUENCE_EDGES

        public static final java.lang.String SEQUENCE_EDGES
        Key for sequence edges in read context.
        See Also:
        Constant Field Values
      • LIST_ELEMENT_DELIMITER

        public static final java.lang.String LIST_ELEMENT_DELIMITER
        String delimiter for list elements 0x241F (9247) SYMBOL FOR UNIT SEPARATOR
        See Also:
        Constant Field Values
      • LIST_ELEMENT_ATTRIBUTE_DELIMITER

        public static final java.lang.String LIST_ELEMENT_ATTRIBUTE_DELIMITER
        String delimiter for element attributes 0x240B (9227) SYMBOL FOR VERTICAL TABULATION
        See Also:
        Constant Field Values
      • reader

        protected static final AReader reader
        The singleton reader instance.
    • Constructor Detail

      • BpmnXMLReader

        public BpmnXMLReader()
    • Method Detail

      • read

        public static jadex.bpmn.model.MBpmnModel read​(ResourceInfo rinfo,
                                                       java.lang.ClassLoader classloader,
                                                       IResourceIdentifier rid,
                                                       IComponentIdentifier root)
                                                throws java.lang.Exception
        Read properties from xml.
        Parameters:
        info - The resource info.
        classloader - The classloader.
        Throws:
        java.lang.Exception
      • buildReport

        public static IErrorReport buildReport​(java.lang.String modelname,
                                               java.lang.String filename,
                                               MultiCollection<Tuple,​java.lang.String> entries)
        Build the error report.
      • getXMLMapping

        public static java.util.Set getXMLMapping()
        Get the XML mapping.
      • parseBpmnMultiColumTable

        public static MultiColumnTableEx parseBpmnMultiColumTable​(java.util.List details,
                                                                  java.util.List annos)
        Parse a list of annotation details into an MultiColumnTableEx
        Parameters:
        details -
        Returns:
        BpmnMultiColumTable from details