public class XyDiffConnector extends Connector
Modifier and Type | Field and Description |
---|---|
static double |
MAX_ATTR_DIST |
allowDifferentIds, careAboutNames, conMgmt, docA, docB, stricterNames
Constructor and Description |
---|
XyDiffConnector(Connector preprocessor)
Instantiates a new XyDiffConnector.
|
XyDiffConnector(Connector preprocessor,
boolean allowDifferentIds,
boolean careAboutNames,
boolean stricterNames)
Instantiates a new XyDiffConnector.
|
XyDiffConnector(de.unirostock.sems.xmlutils.ds.TreeDocument docA,
de.unirostock.sems.xmlutils.ds.TreeDocument docB)
Instantiates a new XyDiffConnector.
|
XyDiffConnector(de.unirostock.sems.xmlutils.ds.TreeDocument docA,
de.unirostock.sems.xmlutils.ds.TreeDocument docB,
boolean allowDifferentIds,
boolean careAboutNames,
boolean stricterNames)
Instantiates a new XyDiffConnector.
|
Modifier and Type | Method and Description |
---|---|
protected void |
connect()
Inherit to search for connections.
|
protected void |
init()
Initializes the extension.
|
findConnections, getConnections, getDocA, getDocB, nodeAssign
public XyDiffConnector(de.unirostock.sems.xmlutils.ds.TreeDocument docA, de.unirostock.sems.xmlutils.ds.TreeDocument docB, boolean allowDifferentIds, boolean careAboutNames, boolean stricterNames)
docA
- the original documentdocB
- the modified documentallowDifferentIds
- may mapped entities have different ids? see Diff.ALLOW_DIFFERENT_IDS
careAboutNames
- should we care about names? see Diff.CARE_ABOUT_NAMES
stricterNames
- should we handle the names very strictly? see Diff.STRICTER_NAMES
public XyDiffConnector(de.unirostock.sems.xmlutils.ds.TreeDocument docA, de.unirostock.sems.xmlutils.ds.TreeDocument docB)
Diff.ALLOW_DIFFERENT_IDS
, Diff.CARE_ABOUT_NAMES
, and Diff.STRICTER_NAMES
.docA
- the original documentdocB
- the modified documentpublic XyDiffConnector(Connector preprocessor, boolean allowDifferentIds, boolean careAboutNames, boolean stricterNames)
preprocessor
- the connector to initiate the connectionsallowDifferentIds
- may mapped entities have different ids? see Diff.ALLOW_DIFFERENT_IDS
careAboutNames
- should we care about names? see Diff.CARE_ABOUT_NAMES
stricterNames
- should we handle the names very strictly? see Diff.STRICTER_NAMES
public XyDiffConnector(Connector preprocessor)
Diff.ALLOW_DIFFERENT_IDS
, Diff.CARE_ABOUT_NAMES
, and Diff.STRICTER_NAMES
.preprocessor
- the connector to initiate the connectionsprotected void init() throws BivesConnectionException
Connector
init
in class Connector
BivesConnectionException
- the bives connection exceptionprotected void connect() throws BivesConnectionException
Connector
connect
in class Connector
BivesConnectionException
- the bives connection exceptionCopyright © 2019 SEMS project @ University of Rostock. All rights reserved.