Class TsmlArcGraphics

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TAG
      PNML annotation graphics tag.
    • Constructor Summary

      Constructors 
      Constructor Description
      TsmlArcGraphics()
      Creates a fresh PNML arc graphics.
    • Field Detail

      • TAG

        public static final java.lang.String TAG
        PNML annotation graphics tag.
        See Also:
        Constant Field Values
    • Constructor Detail

      • TsmlArcGraphics

        public TsmlArcGraphics()
        Creates a fresh PNML arc graphics.
    • Method Detail

      • importElements

        protected boolean importElements​(org.xmlpull.v1.XmlPullParser xpp,
                                         Tsml tsml)
        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 TsmlElement
        Returns:
        Whether the start tag was known.
      • exportElements

        protected java.lang.String exportElements​(Tsml tsml)
        Exports the arc graphics.
        Overrides:
        exportElements in class TsmlElement
        Returns:
      • unmarshall

        public void unmarshall​(org.processmining.models.graphbased.AbstractGraphElement element,
                               org.processmining.models.connections.GraphLayoutConnection layout)
        Sets the graphics for the given graph element.
        Parameters:
        subNet - The given sub net.
        element - The given element.
        displacement - The displacement for this sub net.
      • marshall

        public TsmlArcGraphics marshall​(org.processmining.models.graphbased.AbstractGraphElement element,
                                        org.processmining.models.connections.GraphLayoutConnection layout)