owltools.gaf.io
Class PseudoRdfXmlWriter

java.lang.Object
  extended by owltools.gaf.io.AbstractXmlWriter
      extended by owltools.gaf.io.PseudoRdfXmlWriter

public class PseudoRdfXmlWriter
extends AbstractXmlWriter

Java implementation to create a legacy pseudo RDF XML file for GO terms and gene annotations.


Constructor Summary
PseudoRdfXmlWriter()
           
 
Method Summary
 void write(OutputStream stream, OWLGraphWrapper graph, List<GafDocument> gafs)
          Write a pseudo RDF XML for the given ontology and gene annotations.
 
Methods inherited from class owltools.gaf.io.AbstractXmlWriter
createWriter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoRdfXmlWriter

public PseudoRdfXmlWriter()
Method Detail

write

public void write(OutputStream stream,
                  OWLGraphWrapper graph,
                  List<GafDocument> gafs)
           throws IOException
Write a pseudo RDF XML for the given ontology and gene annotations.

Parameters:
stream -
graph - the ontology
gafs - (optional) list of gaf documents or null
Throws:
IOException


Copyright © 2010-2012. All Rights Reserved.