Version: 1.1.1

org.biomoby.client
Class RDF

java.lang.Object
  extended by org.biomoby.client.RDF

public abstract class RDF
extends Object

A utility class that understands how to create graphviz graphs from a set of ServiceEdges, or from other data structures.

Version:
$Id: RDF.java,v 1.4 2005/07/19 12:39:59 senger Exp $
Author:
Martin Senger

Field Summary
static String PREDICATE_HAS_INPUT
           
static String PREDICATE_HAS_OUTPUT
           
 
Constructor Summary
RDF()
           
 
Method Summary
static String createServicesGraph(ServicesEdge[] edges, Properties props)
          Creates a graph connecting Moby services as defined in a set of the graph 'edges.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREDICATE_HAS_OUTPUT

public static final String PREDICATE_HAS_OUTPUT
See Also:
Constant Field Values

PREDICATE_HAS_INPUT

public static final String PREDICATE_HAS_INPUT
See Also:
Constant Field Values
Constructor Detail

RDF

public RDF()
Method Detail

createServicesGraph

public static String createServicesGraph(ServicesEdge[] edges,
                                         Properties props)
Creates a graph connecting Moby services as defined in a set of the graph 'edges.

Parameters:
edges - represent services and their connectors in the created graph
props - are some properties that can influence how the graph will look like; see the property names elswhere in this API what properties are understood
Returns:
a string with all definitions as understood by 'dot' program (from the graphviz package); this string can be saved in a '.dot' file that can be passed to a dot program to produce graphs in many available formats

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010