Class PnmlAnnotation

    • Constructor Detail

      • PnmlAnnotation

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

        protected PnmlAnnotation​(java.lang.String text,
                                 java.lang.String tag)
    • Method Detail

      • importElements

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

        protected java.lang.String exportElements​(Pnml pnml)
        Description copied from class: PnmlElement
        Exports all standard elements: None. If some subclass has child elements, this method needs to be overruled by it.
        Overrides:
        exportElements in class PnmlElement
        Returns:
      • convertToNet

        public void convertToNet​(PetrinetNode node)
      • convertFromNet

        public PnmlAnnotation convertFromNet​(org.processmining.models.graphbased.AbstractGraphElement element)