Core/src/main/java/org/openestate/io/core/XmlUtils.java
public static void write(Document doc, Writer output) throws TransformerException {
        XmlUtils.write(doc, output, true);
    }
public static void write(Document doc, Writer output) throws TransformerException {
        XmlUtils.write(doc, output, true);
    }
public static void write ( Document doc , Writer output ) throws TransformerException { XmlUtils . write ( doc , output , true ) ; }
Write a {@link Document} to a {@link Writer}.

@param doc    the document to write
@param output the output, where the document is written to
@throws TransformerException if XML transformation failed
Write a { @link Document } to a { @link Writer } .