org.processmining.plugins.pnml
Class PnmlTransition
java.lang.Object
org.processmining.plugins.pnml.PnmlElement
org.processmining.plugins.pnml.PnmlBasicObject
org.processmining.plugins.pnml.PnmlNode
org.processmining.plugins.pnml.PnmlTransition
public class PnmlTransition
- extends PnmlNode
Basic PNML transition object.
- Author:
- hverbeek
Field Summary |
static java.lang.String |
TAG
PNML transition tag. |
Method Summary |
PnmlTransition |
convertFromNet(PetrinetGraph net,
ExpandableSubNet parent,
Transition element,
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,Transition> map,
java.awt.geom.Point2D.Double displacement,
org.processmining.models.connections.GraphLayoutConnection layout)
Converts this transition to a Petri net transition. |
protected java.lang.String |
exportElements(Pnml pnml)
Exports all child elements. |
protected boolean |
importElements(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
Checks whether the current start tag is known. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TAG
public static final java.lang.String TAG
- PNML transition tag.
- See Also:
- Constant Field Values
PnmlTransition
public PnmlTransition()
- Creates a fresh PNML transition.
importElements
protected boolean importElements(org.xmlpull.v1.XmlPullParser xpp,
Pnml pnml)
- Description copied from class:
PnmlNode
- Checks whether the current start tag is known. If known, it imports the
corresponding child element and returns true. Otherwise, it returns
false.
- Overrides:
importElements
in class PnmlNode
- Returns:
- Whether the start tag was known.
exportElements
protected java.lang.String exportElements(Pnml pnml)
- Description copied from class:
PnmlNode
- Exports all child elements.
- Overrides:
exportElements
in class PnmlNode
- Returns:
convertToNet
public void convertToNet(PetrinetGraph net,
ExpandableSubNet subNet,
java.util.Map<java.lang.String,Transition> map,
java.awt.geom.Point2D.Double displacement,
org.processmining.models.connections.GraphLayoutConnection layout)
- Converts this transition to a Petri net transition.
- Parameters:
net
- The net to add the transition to.subNet
- The sub net to add the transition to.map
- The transitions found so far.
convertFromNet
public PnmlTransition convertFromNet(PetrinetGraph net,
ExpandableSubNet parent,
Transition element,
java.util.Map<org.processmining.framework.util.Pair<org.processmining.models.graphbased.AbstractGraphElement,ExpandableSubNet>,java.lang.String> idMap,
org.processmining.models.connections.GraphLayoutConnection layout)