Class IdConnector


  • public class IdConnector
    extends Connector
    Connector to connect nodes with same id. If the ids aren't unique in both documents it'll do exactly nothing.
    Author:
    Martin Scharm
    • Constructor Detail

      • IdConnector

        public IdConnector​(de.unirostock.sems.xmlutils.ds.TreeDocument docA,
                           de.unirostock.sems.xmlutils.ds.TreeDocument docB,
                           boolean requireSameLabel)
        Instantiates a new XyDiffConnector. In this setting we'll run an ID mapper before we do our work.
        Parameters:
        docA - the original document
        docB - the modified document
        requireSameLabel - if true, both id-tags need to have the same label