The writer package is responsible for serializing RDF in a variety of formats. It currently support in memory and disk based NTriples and RDF/XML writers. There is also a helper class org.jrdf.writer.Writer which creates an in memory writer and produces NTriples or RDF/XML files for a given graph.