sk.uniba.euromath.gene.exportgraph
Interface IGraphEdgeSelector


public interface IGraphEdgeSelector

Allows user to select a desired child graph node / edge oriented from given node) for given namespace.

Author:
Martin Vysny

Method Summary
 int getChildNode(GraphNode node, String namespace)
          For given node and namespace returns index of child graph node that'll be selected in result exporter chain.
 

Method Detail

getChildNode

int getChildNode(GraphNode node,
                 String namespace)
For given node and namespace returns index of child graph node that'll be selected in result exporter chain.

Parameters:
node - the graph node.
namespace - namespace that given graphnode prouces. The node'll have at least one child graph node for this namespace.
Returns:
index of child graph node that'll be used.
Throws:
IndexOutOfBoundsException - if returned index denotes a non-existent child node.


Copyright 2003-2003-2006 null. All Rights Reserved.