Class TsmlFont
- java.lang.Object
-
- org.processmining.plugins.tsml.TsmlElement
-
- org.processmining.plugins.tsml.graphics.TsmlFont
-
public class TsmlFont extends TsmlElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTAGPNML font tag.-
Fields inherited from class org.processmining.plugins.tsml.TsmlElement
lineNumber, tag
-
-
Constructor Summary
Constructors Constructor Description TsmlFont()Creates a fresh PNML font object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringexportAttributes(Tsml tsml)Exports all attributes.protected voidimportAttributes(org.xmlpull.v1.XmlPullParser xpp, Tsml tsml)Imports all known attributes.TsmlFontmarshall(org.processmining.models.graphbased.AbstractGraphElement element)voidunmarshall(org.processmining.models.graphbased.AbstractGraphElement element)Sets the font of the given graph element to this font.-
Methods inherited from class org.processmining.plugins.tsml.TsmlElement
checkValidity, exportAttribute, exportElement, exportElements, importElement, importElements, importText
-
-
-
-
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, Tsml tsml)Imports all known attributes.- Overrides:
importAttributesin classTsmlElement
-
exportAttributes
protected java.lang.String exportAttributes(Tsml tsml)
Exports all attributes.- Overrides:
exportAttributesin classTsmlElement- Returns:
-
unmarshall
public void unmarshall(org.processmining.models.graphbased.AbstractGraphElement element)
Sets the font of the given graph element to this font.- Parameters:
element- The given element.
-
marshall
public TsmlFont marshall(org.processmining.models.graphbased.AbstractGraphElement element)
-
-