@Test public void testWrite() throws TransformationException { assertEquals(bibtexEntries.get(0), writer.write(bibEntries.get(0))); StringWriter sw = new StringWriter(); writer.write(sw, bibEntries.get(0)); assertEquals(bibtexEntries.get(0), sw.toString()); }
@Override public String write(BibEntry object, Object... hints) throws TransformationException { return object.toBibTeX(); }
BibEntryToBibTeXWriter implements ModelToFormatWriter<BibEntry> { @Override public String write(BibEntry object, Object... hints) throws TransformationException { return object.toBibTeX(); } }
BibEntryToBibTeXWriter implements ModelToFormatWriter<BibEntry> { @Override public String write(BibEntry object, Object... hints) throws TransformationException { return object.toBibTeX(); }  }
BibEntryToBibTeXWriter implements ModelToFormatWriter<BibEntry> { @Override public String write(BibEntry object, Object... hints) throws TransformationException { return object.toBibTeX(); }  @Override String write(BibEntry object, Object... hints); @Override void write(Writer writer, BibEntry object, Object... hints); @Override String writeAll(List<BibEntry> objects, Object... hints); @Override void writeAll(Writer writer, List<BibEntry> objects, Object... hints); }
BibEntryToBibTeXWriter implements ModelToFormatWriter<BibEntry> { @Override public String write(BibEntry object, Object... hints) throws TransformationException { return object.toBibTeX(); }  @Override String write(BibEntry object, Object... hints); @Override void write(Writer writer, BibEntry object, Object... hints); @Override String writeAll(List<BibEntry> objects, Object... hints); @Override void writeAll(Writer writer, List<BibEntry> objects, Object... hints);  }