Class TsmlNode

    • Field Detail

      • id

        protected java.lang.String id
        Id attribute.
    • Constructor Detail

      • TsmlNode

        public TsmlNode​(java.lang.String tag)
        Creates a fresh PNML node.
        Parameters:
        tag -
    • Method Detail

      • importAttributes

        protected void importAttributes​(org.xmlpull.v1.XmlPullParser xpp,
                                        Tsml tsml)
        Imports all known attributes.
        Overrides:
        importAttributes in class TsmlBasicObject
      • 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 TsmlBasicObject
        Returns:
        Whether the start tag was known.
      • exportElements

        protected java.lang.String exportElements​(Tsml tsml)
        Exports all child elements.
        Overrides:
        exportElements in class TsmlBasicObject
        Returns:
      • checkValidity

        protected void checkValidity​(Tsml tsml)
        Checks the validity of this node. Should have an id attribute.
        Overrides:
        checkValidity in class TsmlBasicObject
      • unmarshall

        protected void unmarshall​(State state,
                                  org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
                                  org.processmining.models.connections.GraphLayoutConnection layout)
      • marshall

        public TsmlNode marshall​(State state,
                                 java.lang.String id,
                                 org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
                                 org.processmining.models.connections.GraphLayoutConnection layout)