Class MipavGraphXMLWriter
- java.lang.Object
-
- hypergraph.graphApi.io.AbstractGraphWriter
-
- hypergraph.graphApi.io.GraphXMLWriter
-
- gov.nih.mipav.view.graphVisualization.MipavGraphXMLWriter
-
- All Implemented Interfaces:
hypergraph.graphApi.io.GraphWriter
public class MipavGraphXMLWriter extends hypergraph.graphApi.io.GraphXMLWriter
Writes the mipav graph to .xml format. As the mipav graph format changes this is where new node attributes are written.
-
-
Constructor Summary
Constructors Constructor Description MipavGraphXMLWriter(java.io.File outputFile)
Writes the Graph in the Mipav Graph XML format.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
writeFooter()
void
writeHeader()
void
writeNode(hypergraph.graphApi.Node node)
-
-
-
Method Detail
-
writeFooter
public void writeFooter() throws java.io.IOException
- Overrides:
writeFooter
in classhypergraph.graphApi.io.GraphXMLWriter
- Throws:
java.io.IOException
-
writeHeader
public void writeHeader() throws java.io.IOException
- Overrides:
writeHeader
in classhypergraph.graphApi.io.GraphXMLWriter
- Throws:
java.io.IOException
-
writeNode
public void writeNode(hypergraph.graphApi.Node node) throws java.io.IOException
- Overrides:
writeNode
in classhypergraph.graphApi.io.GraphXMLWriter
- Throws:
java.io.IOException
-
-