Class LabelConnector


  • @Deprecated
    public class LabelConnector
    extends Connector
    Deprecated.
    Class to connect all nodes with the same label in two trees. As result a node in tree A with label a will be connected to all nodes in tree B which are also labeled with a.
     tree A:    a a b
     connect:   |X| |
     tree B:    a a b
     
    This class is currently deprecated because we don't support the mapping of multiple node. Each node must not have more than one connection. There are cases where this mapper will work like a charm, but it will most likely fail..
    Author:
    Martin Scharm
    • Constructor Detail

      • LabelConnector

        public LabelConnector​(de.unirostock.sems.xmlutils.ds.TreeDocument docA,
                              de.unirostock.sems.xmlutils.ds.TreeDocument docB)
        Deprecated.
        Instantiates a new label connector.
        Parameters:
        docA - the original document
        docB - the modified document