| java.lang.Object org.griphyn.vdl.directive.Directive org.griphyn.vdl.directive.Display
Display | public class Display extends Directive (Code) | | The class converts a DAX specification into other formats
for visualization purposes.
See Also: org.griphyn.vdl.parser.VDLxParser author: Jens-S. Vöckler author: Yong Zhao version: $Revision: 50 $ |
Constructor Summary | |
public | Display() Constructor. |
Method Summary | |
public String | DAX2DOT(InputStream dax, boolean showFiles) Generates GraphViz dot format from the DAX specification.
Parameters: dax - is the InputStream for the DAX Parameters: showFiles - specifies whether to show input/output files inthe graph. | public void | DAX2DOT(InputStream dax, Writer writer, boolean showFiles) Generates GraphViz dot format from the DAX specification. | public void | DAX2DOT(InputStream dax, Writer writer, boolean showFiles, String jobURL, String fileURL) Generates GraphViz dot format from the DAX specification. | public void | setShowDV(boolean showDV) Determines whether to show derivations. | public void | setSize(double h, double w) Sets the graph size. |
DAX2DOT | public String DAX2DOT(InputStream dax, boolean showFiles) throws IOException(Code) | | Generates GraphViz dot format from the DAX specification.
Parameters: dax - is the InputStream for the DAX Parameters: showFiles - specifies whether to show input/output files inthe graph. a string of the GraphViz dot representation throws: IOException - if there is a problem reading or writing |
DAX2DOT | public void DAX2DOT(InputStream dax, Writer writer, boolean showFiles) throws IOException(Code) | | Generates GraphViz dot format from the DAX specification.
Parameters: dax - is the InputStream for the DAX Parameters: writer - is the target to output GraphViz dot representation Parameters: showFiles - specifies whether to show input/output files inthe graph. throws: IOException - if there is a problem reading or writing |
DAX2DOT | public void DAX2DOT(InputStream dax, Writer writer, boolean showFiles, String jobURL, String fileURL) throws IOException(Code) | | Generates GraphViz dot format from the DAX specification.
Parameters: dax - is the InputStream for the DAX Parameters: writer - is the target to output GraphViz dot representation Parameters: showFiles - specifies whether to show input/output files inthe graph. Parameters: jobURL - is the base URL for jobs Parameters: fileURL - is the base URL for files throws: IOException - if there is a problem reading or writing |
setShowDV | public void setShowDV(boolean showDV)(Code) | | Determines whether to show derivations.
Parameters: showDV - if true, also show the DVs |
setSize | public void setSize(double h, double w)(Code) | | Sets the graph size.
Parameters: h - is the height in inches? Parameters: w - is the width in inches? |
|
|