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

Quick Search    Search Deep

com.port80.graph
Interface IVertexFactory  view IVertexFactory download IVertexFactory.java

All Superinterfaces:
com.port80.util.attr.IAttrTable, IGraphElementFactory

public interface IVertexFactory
extends IGraphElementFactory

Factory class that produce valid vertex. The factory also provide an IAttrRegistry interface for client to check for unqiue attribute names.


Method Summary
 IVertex newVertex(java.lang.String name, java.lang.Object data, IGraph parent)
           
 IVertex newVertex(java.lang.String name, java.lang.String port, java.lang.Object data, IGraph parent)
           
 
Methods inherited from interface com.port80.graph.IGraphElementFactory
getAttrRegistry
 
Methods inherited from interface com.port80.util.attr.IAttrTable
attrKeySet, clearAttrs, getAttr, getAttrAsString, getAttrBool, getAttrBool, getAttrCached, getAttrDouble, getAttrDouble, getAttrFloat, getAttrFloat, getAttrInt, getAttrInt, getAttrLong, getAttrLong, getAttrString, hasAttr, removeAttr, removeUnregisteredAttrs, setAttr, setAttr, setAttr, setAttr, setAttr, setAttr, setAttrFromString
 

Method Detail

newVertex

public IVertex newVertex(java.lang.String name,
                         java.lang.Object data,
                         IGraph parent)
                  throws GraphException

newVertex

public IVertex newVertex(java.lang.String name,
                         java.lang.String port,
                         java.lang.Object data,
                         IGraph parent)
                  throws GraphException