
de.unirostock.sems.xmlutils.comparison.ConnectionManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xmlutils Show documentation
Show all versions of xmlutils Show documentation
A toolkit useful for working with XML documents
The newest version!
/**
*
*/
package de.unirostock.sems.xmlutils.comparison;
import de.unirostock.sems.xmlutils.ds.TreeNode;
/**
* The Interface ConnectionManager to manage connections.
*
* @author Martin Scharm
*/
public interface ConnectionManager
{
/**
* Check if the parents of two nodes are connected.
*
* @param c
* the connection
* @return true, if the parents of the nodes connected in c are also connected
*/
public abstract boolean parentsConnected (Connection c);
/**
* Gets the connection for a certain node. Might return null
if
* there is no connection.
*
* @param node
* the node of interest
* @return the connection of the node
*/
public abstract Connection getConnectionForNode (TreeNode node);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy