XgmmlWriter extends AbstractXmlWriter { public XgmmlWriter() { super(DEFAULT_INDENT); } XgmmlWriter(); void write(OutputStream stream, OWLGraphWrapper graph, List<GafDocument> gafs); String getId(String in);  }
@Test public void testXgmmlWriter() throws Exception { GafObjectsBuilder builder = new GafObjectsBuilder(); GafDocument gaf = builder.buildDocument(getResource("test_gene_association_mgi.gaf")); XgmmlWriter w = new XgmmlWriter(); ByteArrayOutputStream out = new ByteArrayOutputStream(); w.write(out, graph, Arrays.asList(gaf)); out.close(); if (printOutput) { System.out.println(new String(out.toByteArray())); } }