Class TsmlAnnotationGraphics


  • public class TsmlAnnotationGraphics
    extends TsmlElement
    • Field Detail

      • TAG

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

      • TsmlAnnotationGraphics

        public TsmlAnnotationGraphics()
        Creates a fresh PNML annotation 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 annotation graphics.
        Overrides:
        exportElements in class TsmlElement
        Returns:
      • checkValidity

        protected void checkValidity​(Tsml tsml)
        Checks validity. Should have an offset element.
        Overrides:
        checkValidity in class TsmlElement
      • unmarshall

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

        public TsmlAnnotationGraphics marshall​(org.processmining.models.graphbased.AbstractGraphElement element)