Class TsmlAnnotation

    • Constructor Detail

      • TsmlAnnotation

        public TsmlAnnotation​(java.lang.String tag)
        Creates a fresh annotation object.
        Parameters:
        tag - The tag for the annotation.
      • TsmlAnnotation

        public TsmlAnnotation​(java.lang.String text,
                              java.lang.String tag)
    • 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)
        Description copied from class: TsmlElement
        Exports all standard elements: None. If some subclass has child elements, this method needs to be overruled by it.
        Overrides:
        exportElements in class TsmlElement
        Returns:
      • unmarshall

        public void unmarshall​(State state)
      • unmarshall

        public void unmarshall​(Transition transition)
      • marshall

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