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.
  • Field Summary

    Fields inherited from class hypergraph.graphApi.io.AbstractGraphWriter

    graph, writer
  • Constructor Summary

    Constructors
    Constructor
    Description
    Writes the Graph in the Mipav Graph XML format.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
     
    void
    writeNode(hypergraph.graphApi.Node node)
     

    Methods inherited from class hypergraph.graphApi.io.GraphXMLWriter

    writeEdge, writeGroup

    Methods inherited from class hypergraph.graphApi.io.AbstractGraphWriter

    setWriter, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MipavGraphXMLWriter

      public MipavGraphXMLWriter(File outputFile) throws IOException
      Writes the Graph in the Mipav Graph XML format.
      Parameters:
      outputFile - output file.
      Throws:
      IOException
  • Method Details

    • writeFooter

      public void writeFooter() throws IOException
      Overrides:
      writeFooter in class hypergraph.graphApi.io.GraphXMLWriter
      Throws:
      IOException
    • writeHeader

      public void writeHeader() throws IOException
      Overrides:
      writeHeader in class hypergraph.graphApi.io.GraphXMLWriter
      Throws:
      IOException
    • writeNode

      public void writeNode(hypergraph.graphApi.Node node) throws IOException
      Overrides:
      writeNode in class hypergraph.graphApi.io.GraphXMLWriter
      Throws:
      IOException