Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/port80/graph/IEdgeFactory.java


1   //
2   // Copyright(c) 2002, Chris Leung
3   //
4   
5   package com.port80.graph;
6   
7   /** Factory class that produce valid edges and destroy edges only if
8    *  removal of the edge do not violate the factory constraints.  The
9    *  factory also provide an IAttrRegistry interface for client to
10   *  check for unqiue attribute names.
11   * 
12   */
13  public interface IEdgeFactory extends IGraphElementFactory {
14  
15      ////////////////////////////////////////////////////////////////////////
16  
17      IEdge newEdge(IVertex tail, IVertex head, String name, Object data, IGraph parent) throws GraphException;
18  
19      ////////////////////////////////////////////////////////////////////////
20  
21  }
22