public class PnmlReferencePlace extends PnmlNode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG
PNML referencePlace tag.
|
name, toolSpecificList
factory, lineNumber, tag
Modifier | Constructor and Description |
---|---|
protected |
PnmlReferencePlace()
Creates a fresh reference place.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkValidity(Pnml pnml)
Check validity.
|
PnmlReferencePlace |
convertFromNet(ExpandableSubNet parent,
Place place,
java.util.Map<org.processmining.framework.util.Pair<org.processmining.models.graphbased.AbstractGraphElement,ExpandableSubNet>,java.lang.String> idMap,
org.processmining.models.connections.GraphLayoutConnection layout) |
void |
convertToNet(PetrinetGraph net,
ExpandableSubNet subNet,
java.util.Map<java.lang.String,Place> map)
Converts this reference place to a regular Petri net place.
|
protected java.lang.String |
exportAttributes(Pnml pnml)
Exports all attributes.
|
protected void |
importAttributes(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
Imports all known attributes.
|
convertFromNet, convertToNet, exportElements, getBoundingBox, getGraphics, importElements
convertFromNet, convertToNet, convertToNet, getName
exportAttribute, exportElement, importElement, importText, setFactory
public static final java.lang.String TAG
protected PnmlReferencePlace()
protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)
importAttributes
in class PnmlNode
protected java.lang.String exportAttributes(Pnml pnml)
exportAttributes
in class PnmlNode
protected void checkValidity(Pnml pnml)
checkValidity
in class PnmlNode
public void convertToNet(PetrinetGraph net, ExpandableSubNet subNet, java.util.Map<java.lang.String,Place> map)
net
- The net to add the place to.subNet
- The sub net to add the place to.map
- The places found so far.public PnmlReferencePlace convertFromNet(ExpandableSubNet parent, Place place, java.util.Map<org.processmining.framework.util.Pair<org.processmining.models.graphbased.AbstractGraphElement,ExpandableSubNet>,java.lang.String> idMap, org.processmining.models.connections.GraphLayoutConnection layout)