org.eclipse.xtext.util
Class GraphvizDotBuilder
java.lang.Object
org.eclipse.xtext.util.GraphvizDotBuilder
- Direct Known Subclasses:
- GrammarToDot, NfaToGrammar.StatesToDot, SyntacticSequencerPDA2ExtendedDot, SyntacticSequencerPDA2SimpleDot
public abstract class GraphvizDotBuilder
- extends java.lang.Object
- Author:
- Moritz Eysholdt - Initial contribution and API
Field Summary |
protected static org.apache.log4j.Logger |
log
|
Method Summary |
java.lang.String |
draw(java.lang.Object obj)
|
void |
draw(java.lang.Object obj,
java.io.PrintStream out)
|
void |
draw(java.lang.Object obj,
java.lang.String cmd)
|
void |
draw(java.lang.Object obj,
java.lang.String outfile,
java.lang.String options)
|
protected abstract GraphvizDotBuilder.Props |
drawObject(java.lang.Object obj)
|
protected java.lang.String |
getGraphvizBinary()
|
protected java.lang.String |
id(java.lang.Object cls)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.log4j.Logger log
GraphvizDotBuilder
public GraphvizDotBuilder()
draw
public java.lang.String draw(java.lang.Object obj)
draw
public void draw(java.lang.Object obj,
java.io.PrintStream out)
draw
public void draw(java.lang.Object obj,
java.lang.String outfile,
java.lang.String options)
throws java.io.IOException
- Throws:
java.io.IOException
draw
public void draw(java.lang.Object obj,
java.lang.String cmd)
throws java.io.IOException
- Throws:
java.io.IOException
drawObject
protected abstract GraphvizDotBuilder.Props drawObject(java.lang.Object obj)
getGraphvizBinary
protected java.lang.String getGraphvizBinary()
id
protected java.lang.String id(java.lang.Object cls)