org.processmining.plugins.pnml.graphics
Class PnmlFont

java.lang.Object
  extended by org.processmining.plugins.pnml.PnmlElement
      extended by org.processmining.plugins.pnml.graphics.PnmlFont

public class PnmlFont
extends PnmlElement

PNML graphics font object.

Author:
hverbeek

Field Summary
static java.lang.String TAG
          PNML font tag.
 
Fields inherited from class org.processmining.plugins.pnml.PnmlElement
lineNumber, tag
 
Constructor Summary
PnmlFont()
          Creates a fresh PNML font object.
 
Method Summary
 PnmlFont convertFromNet(org.processmining.models.graphbased.AbstractGraphElement element)
           
 void convertToNet(org.processmining.models.graphbased.AbstractGraphElement element)
          Sets the font of the given graph element to this font.
protected  java.lang.String exportAttributes(Pnml pnml)
          Exports all attributes.
protected  void importAttributes(org.xmlpull.v1.XmlPullParser xpp, Pnml pnml)
          Imports all known attributes.
 
Methods inherited from class org.processmining.plugins.pnml.PnmlElement
checkValidity, exportAttribute, exportElement, exportElements, importElement, importElements, importText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public static final java.lang.String TAG
PNML font tag.

See Also:
Constant Field Values
Constructor Detail

PnmlFont

public PnmlFont()
Creates a fresh PNML font object.

Method Detail

importAttributes

protected void importAttributes(org.xmlpull.v1.XmlPullParser xpp,
                                Pnml pnml)
Imports all known attributes.

Overrides:
importAttributes in class PnmlElement

exportAttributes

protected java.lang.String exportAttributes(Pnml pnml)
Exports all attributes.

Overrides:
exportAttributes in class PnmlElement
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)