public class ProcessModelXMLExportTools extends XMLExportTools
| Constructor and Description |
|---|
ProcessModelXMLExportTools() |
| Modifier and Type | Method and Description |
|---|---|
static org.w3c.dom.Element |
createAdhocTemplateMappingElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,java.util.UUID> mapping)
Create a adhoc template ID mapping element with the given ID mapping
|
static org.w3c.dom.Element |
createBaseTemplateMappingElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,java.util.UUID> mapping)
Create a baseBase template ID mapping element with the given ID mapping
|
static org.w3c.dom.Element |
createEmbeddedTemplateMappingElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,java.util.UUID> mapping)
Create a embedded template ID mapping element with the given ID mapping
|
static org.w3c.dom.Element |
createInstanceLocksElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.LockDescription> locks)
Create a instance locks element containing all instance locks specified.
|
static org.w3c.dom.Element |
createProcessTypesElement(org.w3c.dom.Document document,
java.util.Set<ProcessModelXMLHelperTools.SerialisableProcessType> items)
Create a process types element containing all specified processTypes.
|
static org.w3c.dom.Element |
createTemplateInformationsElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.TemplateInformation> items)
Create a template informations element containing all specified template informations.
|
static org.w3c.dom.Element |
createTemplateLocksElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.LockDescription> locks)
Create a template locks element containing all template locks specified.
|
static java.util.Collection<StructuredDataEdge> |
getSortedDataEdges(java.util.Collection<StructuredDataEdge> unsortedDataEdges)
Take the given data edges and return them as sorted collection.
|
static java.util.Collection<DataElement> |
getSortedDataElements(java.util.Collection<DataElement> unsortedDataElements)
Take the given data elements and return them as sorted collection.
|
static java.util.Collection<StructuredEdge> |
getSortedEdges(java.util.Collection<StructuredEdge> unsortedEdges)
Take the given edges and return them as sorted collection.
|
static java.util.Collection<Node> |
getSortedNodes(java.util.Collection<Node> unsortedNodes)
Take the given nodes and return them as sorted collection.
|
addElement, addElement, addElement, addElementNS, createClassPathElement, createConfigurationDescriptionElement, createConfigurationElement, createConfigurationEntryElement, createEBPInstanceReferenceElement, createECPElement, createExecutionControlPropertiesElement, createPluginDataContainerElement, createSeparatedClassPathElement, createURIArrayElement, createUserAttributesElement, fillQualifiedAgentElement, fillUserAttributesElement, sortedKeySetpublic static org.w3c.dom.Element createTemplateLocksElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.LockDescription> locks)
document - locks - Elementpublic static org.w3c.dom.Element createInstanceLocksElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.LockDescription> locks)
document - locks - Elementpublic static org.w3c.dom.Element createEmbeddedTemplateMappingElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,java.util.UUID> mapping)
document - mapping - - The embedded IDs mapping to their parent IDsElementpublic static org.w3c.dom.Element createBaseTemplateMappingElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,java.util.UUID> mapping)
document - mapping - - The template IDs mapping to their base template IDsElementpublic static org.w3c.dom.Element createAdhocTemplateMappingElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,java.util.UUID> mapping)
document - mapping - - The adhoc template IDs mapping to their instance IDsElementpublic static org.w3c.dom.Element createProcessTypesElement(org.w3c.dom.Document document,
java.util.Set<ProcessModelXMLHelperTools.SerialisableProcessType> items)
document - items - - The ProcessTypesElementpublic static org.w3c.dom.Element createTemplateInformationsElement(org.w3c.dom.Document document,
java.util.Map<java.util.UUID,ProcessModelXMLHelperTools.TemplateInformation> items)
document - items - - Map from ID of template to template information for this templateElementpublic static java.util.Collection<Node> getSortedNodes(java.util.Collection<Node> unsortedNodes)
unsortedNodes - The unsorted collection of nodes.public static java.util.Collection<DataElement> getSortedDataElements(java.util.Collection<DataElement> unsortedDataElements)
unsortedDataElements - The unsorted collection of data elements.public static java.util.Collection<StructuredEdge> getSortedEdges(java.util.Collection<StructuredEdge> unsortedEdges)
unsortedEdges - The unsorted collection of structured edges.public static java.util.Collection<StructuredDataEdge> getSortedDataEdges(java.util.Collection<StructuredDataEdge> unsortedDataEdges)
unsortedDataEdges - The unsorted collection of structured data edges.