String (@NotNull Parent element, String lineSeparator) { try { StringWriter writer = new StringWriter(); write(element, writer, lineSeparator); return writer.toString(); } catch (IOException e) { throw new UncheckedIOException(e); } }