public abstract class Connector extends Object
Modifier and Type | Field and Description |
---|---|
protected SimpleConnectionManager |
conMgmt
The connection manager, holding node-mappings.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
docA
The original document.
|
protected de.unirostock.sems.xmlutils.ds.TreeDocument |
docB
The modified document.
|
Constructor and Description |
---|
Connector(de.unirostock.sems.xmlutils.ds.TreeDocument docA,
de.unirostock.sems.xmlutils.ds.TreeDocument docB)
Instantiates a new connector.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
connect()
Inherit to search for connections.
|
void |
findConnections()
Find connections between nodes of both versions of your document.
|
SimpleConnectionManager |
getConnections()
Gets the connections.
|
de.unirostock.sems.xmlutils.ds.TreeDocument |
getDocA()
Gets the original document.
|
de.unirostock.sems.xmlutils.ds.TreeDocument |
getDocB()
Gets the modified document.
|
protected abstract void |
init()
Initializes the extension.
|
protected SimpleConnectionManager conMgmt
protected de.unirostock.sems.xmlutils.ds.TreeDocument docA
protected de.unirostock.sems.xmlutils.ds.TreeDocument docB
public Connector(de.unirostock.sems.xmlutils.ds.TreeDocument docA, de.unirostock.sems.xmlutils.ds.TreeDocument docB)
docA
- the original documentdocB
- the modified documentpublic de.unirostock.sems.xmlutils.ds.TreeDocument getDocA()
public de.unirostock.sems.xmlutils.ds.TreeDocument getDocB()
protected abstract void init() throws BivesConnectionException
BivesConnectionException
- the bives connection exceptionprotected abstract void connect() throws BivesConnectionException
BivesConnectionException
- the bives connection exceptionpublic final void findConnections() throws BivesConnectionException
BivesConnectionException
- the bives connection exceptionpublic final SimpleConnectionManager getConnections()
Copyright © 2015 SEMS project @ University of Rostock. All rights reserved.