| Home >> All >> com >> port80 >> [ graph Javadoc ] |
Source code: com/port80/graph/IVertexFactory.java
1 // 2 // Copyright(c) 2002, Chris Leung 3 // 4 5 package com.port80.graph; 6 7 /** Factory class that produce valid vertex. The factory also provide 8 * an IAttrRegistry interface for client to check for unqiue 9 * attribute names. 10 */ 11 public interface IVertexFactory extends IGraphElementFactory { 12 13 //////////////////////////////////////////////////////////////////////// 14 15 IVertex newVertex(String name, Object data, IGraph parent) throws GraphException; 16 IVertex newVertex(String name, String port, Object data, IGraph parent) throws GraphException; 17 18 //////////////////////////////////////////////////////////////////////// 19 20 } 21