Class 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
      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)  
      • 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 Detail

      • MipavGraphXMLWriter

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

      • writeFooter

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

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

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