public class ProcessModelUtils
extends java.lang.Object
Constructor and Description |
---|
ProcessModelUtils(ProcessModel model) |
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Element |
addBoundsElement(org.w3c.dom.Document doc,
org.w3c.dom.Element parentEl) |
void |
applyPropertyChange(org.w3c.dom.Document doc) |
JSONObject |
getBoundsJSON() |
org.w3c.dom.Document |
getEdgeList(java.lang.String prefix)
Create an XML-list of all edges contained in the given model
|
org.w3c.dom.Document |
getMetaXML(java.lang.String id,
java.lang.String folder,
AccessType access) |
org.w3c.dom.Document |
getNodeList(java.lang.String prefix)
Create a list of all nodes belonging to the model
|
void |
layout() |
public ProcessModelUtils(ProcessModel model)
public void applyPropertyChange(org.w3c.dom.Document doc) throws org.w3c.dom.DOMException
org.w3c.dom.DOMException
public org.w3c.dom.Document getMetaXML(java.lang.String id, java.lang.String folder, AccessType access)
public org.w3c.dom.Document getNodeList(java.lang.String prefix)
prefix
- server base addresspublic org.w3c.dom.Document getEdgeList(java.lang.String prefix)
prefix
- server base addresspublic void layout()
public org.w3c.dom.Element addBoundsElement(org.w3c.dom.Document doc, org.w3c.dom.Element parentEl)
public JSONObject getBoundsJSON() throws JSONException
JSONException