org.assertj.core.util.xml
Class XmlStringPrettyFormatter
java.lang.Object
org.assertj.core.util.xml.XmlStringPrettyFormatter
public class XmlStringPrettyFormatter
- extends Object
Format an XML String with indent = 2 space.
Very much inspired by http://stackoverflow.com/questions/139076/how-to-pretty-print-xml-from-java and
http://pastebin.com/XL7932aC
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
xmlPrettyFormat
public static String xmlPrettyFormat(String xmlStringToFormat)
Copyright © 2013–2015 AssertJ. All rights reserved.