Class PnmlFont
- java.lang.Object
-
- org.processmining.plugins.pnml.base.PnmlElement
-
- org.processmining.plugins.pnml.elements.graphics.PnmlFont
-
public class PnmlFont extends PnmlElement
PNML graphics font object.- Author:
- hverbeek
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAGPNML font tag.-
Fields inherited from class org.processmining.plugins.pnml.base.PnmlElement
factory, lineNumber, tag
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPnmlFont()Creates a fresh PNML font object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PnmlFontconvertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)voidconvertToNet(org.processmining.models.graphbased.AbstractGraphElement element)Sets the font of the given graph element to this font.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 font 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 font of the given graph element to this font.- Parameters:
element- The given element.
-
convertFromNet
public PnmlFont convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)
-
-