Class PnmlLine
- java.lang.Object
-
- org.processmining.plugins.pnml.base.PnmlElement
-
- org.processmining.plugins.pnml.elements.graphics.PnmlLine
-
public class PnmlLine extends PnmlElement
PNML graphics line object.- Author:
- hverbeek
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAGPNML line tag.-
Fields inherited from class org.processmining.plugins.pnml.base.PnmlElement
factory, lineNumber, tag
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPnmlLine()Creates a fresh PNML line object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PnmlLineconvertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)voidconvertToNet(org.processmining.models.graphbased.AbstractGraphElement element)Sets the line of the given graph element to this line.protected java.lang.StringexportAttributes(Pnml pnml)Exports all attributes.protected voidimportAttributes(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)Imports all known attributes.-
Methods inherited from class org.processmining.plugins.pnml.base.PnmlElement
checkValidity, exportAttribute, exportElement, exportElements, importElement, importElements, importText, setFactory
-
-
-
-
Field Detail
-
TAG
public static final java.lang.String TAG
PNML line tag.- See Also:
- Constant Field Values
-
-
Method Detail
-
importAttributes
protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)Imports all known attributes.- Overrides:
importAttributesin classPnmlElement
-
exportAttributes
protected java.lang.String exportAttributes(Pnml pnml)
Exports all attributes.- Overrides:
exportAttributesin classPnmlElement- Returns:
-
convertToNet
public void convertToNet(org.processmining.models.graphbased.AbstractGraphElement element)
Sets the line of the given graph element to this line.- Parameters:
element- The given element.
-
convertFromNet
public PnmlLine convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)
-
-