Package jadex.bpmn
Class BpmnXMLReader
- java.lang.Object
-
- jadex.bpmn.BpmnXMLReader
-
public class BpmnXMLReader extends java.lang.Object
Reader for loading Bpmn XML models into a Java representation states.
-
-
Field Summary
Fields Modifier and Type Field Description static IPostProcessor
configpp
static java.lang.String
CONTEXT_ENTRIES
Key for error entries in read context.protected static IObjectReaderHandler
handler
The handler.static java.lang.String
LIST_ELEMENT_ATTRIBUTE_DELIMITER
String delimiter for element attributes0x240B (9227) SYMBOL FOR VERTICAL TABULATION
static java.lang.String
LIST_ELEMENT_DELIMITER
String delimiter for list elements0x241F (9247) SYMBOL FOR UNIT SEPARATOR
protected static TypeInfoPathManager
manager
The manager.protected static AReader
reader
The singleton reader instance.static java.lang.String
SEQUENCE_EDGES
Key for sequence edges in read context.
-
Constructor Summary
Constructors Constructor Description BpmnXMLReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IErrorReport
buildReport(java.lang.String modelname, java.lang.String filename, MultiCollection<Tuple,java.lang.String> entries)
Build the error report.static java.util.Set
getXMLMapping()
Get the XML mapping.static MultiColumnTableEx
parseBpmnMultiColumTable(java.util.List details, java.util.List annos)
Parse a list of annotation details into an MultiColumnTableExstatic MBpmnModel
read(ResourceInfo rinfo, java.lang.ClassLoader classloader, IResourceIdentifier rid, IComponentIdentifier root)
Read properties from xml.
-
-
-
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 elements0x241F (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 attributes0x240B (9227) SYMBOL FOR VERTICAL TABULATION
- See Also:
- Constant Field Values
-
manager
protected static final TypeInfoPathManager manager
The manager.
-
handler
protected static final IObjectReaderHandler handler
The handler.
-
reader
protected static final AReader reader
The singleton reader instance.
-
configpp
public static IPostProcessor configpp
-
-
Method Detail
-
read
public static 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
-
-