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

Quick Search    Search Deep

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

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

public interface IEdgeFactory
extends IGraphElementFactory

Factory class that produce valid edges and destroy edges only if removal of the edge do not violate the factory constraints. The factory also provide an IAttrRegistry interface for client to check for unqiue attribute names.


Method Summary
 IEdge newEdge(IVertex tail, IVertex head, java.lang.String name, 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

newEdge

public IEdge newEdge(IVertex tail,
                     IVertex head,
                     java.lang.String name,
                     java.lang.Object data,
                     IGraph parent)
              throws GraphException