|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object
|
+--org.w3c.rdf.util.xml.DumpConsumer
|
+--org.w3c.rdf.examples.GraphVizDumpConsumer
| Field Summary | |
java.lang.String |
title
This is the title to be used for the generated VizGraph graph. |
| Constructor Summary | |
GraphVizDumpConsumer()
Default constructor |
|
GraphVizDumpConsumer(java.io.PrintWriter pw)
Default constructor |
|
| Method Summary | |
void |
addGraphAttribute(java.lang.String attr)
Interface to accept graph-level attributes that should be added to the graph's header information. |
void |
addNamespace(java.lang.String namespacePrefix,
java.lang.String namespaceName)
This method adds a namespace prefix and the associated namespace URI to the consumer. |
void |
addStatement(Statement s)
This method outputs text to stdout that is suitable for use in GraphViz. |
void |
endModel()
This method dumps out the Graph Viz footer. |
NodeFactory |
getNodeFactory()
node factory to be used by the parser for creating resources and literals passed to addStatement |
static void |
main(java.lang.String[] args)
main method for debugging the DOT file generator Input is a URI Output (to stdout) is the input for the DOT program |
void |
startModel()
This method dumps the Graph Viz header. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public java.lang.String title
| Constructor Detail |
public GraphVizDumpConsumer()
public GraphVizDumpConsumer(java.io.PrintWriter pw)
| Method Detail |
public void addGraphAttribute(java.lang.String attr)
attr - a graph-level attribute string (e.g. size="4,4") to
be added to the output
public void addNamespace(java.lang.String namespacePrefix,
java.lang.String namespaceName)
namespacePrefix - The prefix to associate with the
fully qualified namespace URI.namespaceName - The fully qualified namespace name.public void startModel()
public void endModel()
public NodeFactory getNodeFactory()
public void addStatement(Statement s)
s -
public static void main(java.lang.String[] args)
throws java.lang.Exception
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||