foundation.fluent.api:fluent-xml-writer (maven):  Fluent hierarchical XML writer, allowing to generate XML file (or other output stream) fluently: document(output).version(1.0).tag("root").text("Hello").end().close(); It is immediately streaming to the output stream. Not holding anything in memory. 
Keywords: fluent-api|java-8|stream-api|xml