Class FormattingXmlStreamWriter

java.lang.Object
org.apache.jackrabbit.vault.util.xml.serialize.FormattingXmlStreamWriter
All Implemented Interfaces:
AutoCloseable, XMLStreamWriter

public class FormattingXmlStreamWriter extends Object implements XMLStreamWriter, AutoCloseable
StAX XML Stream Writer filter. Adds the following functionality:
  • optional line break before each attribute
  • new line at end
  • indentation for elements and comments