Class IndentXMLStreamWriter

java.lang.Object
org.dellroad.stuff.xml.StreamWriterDelegate
org.dellroad.stuff.xml.IndentXMLStreamWriter
All Implemented Interfaces:
XMLStreamWriter

public class IndentXMLStreamWriter extends StreamWriterDelegate
Wrapper for an underlying XMLStreamWriter that "pretty-prints" the XML by replacing the whitespace between XML tags so that the result is properly indented.

This class will also fixup a missing/incomplete initial XML declaration.