99100101102103104105106107
//PrefixMapping pmap = SSE.getDefaultPrefixMapWrite() ; PrefixMapping pmap = null ; SerializationContext sCxt = new SerializationContext(pmap) ; ItemWriter.write(out, item, sCxt) ; //item.output(out) ; out.ensureStartOfLine() ; out.flush(); } }
4445464748495051525354
public static void write(OutputStream out, Item item) { IndentedWriter iw = new IndentedWriter(out) ; write(iw, item , null) ; iw.ensureStartOfLine() ; iw.flush(); } private static class Print implements ItemVisitor {