@Test public void simplePrettyPrintTestTabIndent() throws IOException { String inputXml = "<o><i a='v'>t</i></o>"; String expectedPrettyPrintedXml = "<o>\n" + "\t<i a='v'>\n" + "\t\tt\n" + "\t</i>\n" + "</o>"; XmlPrettyPrinter.Builder xmlPrettyPrinterBuilder = XmlPrettyPrinter .builder() .setTabWidth(2); xmlPrettyPrintTest(expectedPrettyPrintedXml, inputXml, xmlPrettyPrinterBuilder); }
public static Builder builder() { return new Builder(); }
XmlPrettyPrinter extends XmlPrinter { public static Builder builder() { return new Builder(); } }
XmlPrettyPrinter extends XmlPrinter { public static Builder builder() { return new Builder(); } XmlPrettyPrinter(PrettyPrintedXmlPartCallback partCallback);  XmlPrettyPrinter(PrettyPrintedXmlChunkSink prettyWriter); private  XmlPrettyPrinter(Builder builder); }
XmlPrettyPrinter extends XmlPrinter { public static Builder builder() { return new Builder(); } XmlPrettyPrinter(PrettyPrintedXmlPartCallback partCallback);  XmlPrettyPrinter(PrettyPrintedXmlChunkSink prettyWriter); private  XmlPrettyPrinter(Builder builder); static Builder builder(); }
XmlPrettyPrinter extends XmlPrinter { public static Builder builder() { return new Builder(); } XmlPrettyPrinter(PrettyPrintedXmlPartCallback partCallback);  XmlPrettyPrinter(PrettyPrintedXmlChunkSink prettyWriter); private  XmlPrettyPrinter(Builder builder); static Builder builder();  }