org.grinvin.factories.graphs
Interface GraphFactory
- Factory, NamedFactory
- AbstractGraphFactory
public interface GraphFactory
An object that satisfies this interface can be used to create a graph
and store it into a graph bundle. To have a factory create a graph, first
set its parameters using
GraphFactory
and
then call
createGraph(GraphBundle)
.
URI | createGraph(GraphBundle graphBundle) - Create a graph and store it into the given graph bundle.
|
String | getId() - Return the string that uniquely identifies this factory.
|
URI | getURI() - Return the URI of the graph which will be created
from this factory when using the current parameter values.
|
getId
public String getId()
Return the string that uniquely identifies this factory. This id
is typically used for retreiving documentation pages for this factory
and for building URIs for the graphs created by this factory.
getURI
public URI getURI()
throws FactoryParameterException
Return the URI of the graph which will be created
from this factory when using the current parameter values.