/** * Writes the transformed source into the given output stream. By default, * it leverages the {@link #write(Result)} method using a * {@link StreamResult} object. */ @Override public void write(Writer writer) throws IOException { write(new StreamResult(writer)); } }