|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.GraphFactory
public class GraphFactory
Create a Graph object of the given type with the given arguments
Constructor Summary | |
---|---|
protected |
GraphFactory()
Creates a new instance of GraphFactory |
Method Summary | |
---|---|
Graph |
create(java.util.Properties args)
Create a graph object without directly exposing the underlying types Types of graphs are pulled from the "Graph" key with "GraphID" for their unique ID. |
java.lang.String[] |
getKnownGraphs()
|
static GraphFactory |
newInstance()
return a singleton of this type, creating it if necessary |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected GraphFactory()
Method Detail |
---|
public static GraphFactory newInstance()
public Graph create(java.util.Properties args)
args
- parameters for the new graph
public java.lang.String[] getKnownGraphs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |