public class IndentNumberPrettyPrinter extends java.lang.Object implements IXMLPrettyPrinter
java.lang.IllegalArgumentException: Not supported: indent-number(see bug http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6519088)
| Modifier and Type | Field and Description |
|---|---|
static IXMLPrettyPrinter |
INSTANCE |
| Constructor and Description |
|---|
IndentNumberPrettyPrinter() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
prettyPrint(java.lang.String xml,
int indent)
Indent the given xml with the given indent number.
|
public static final IXMLPrettyPrinter INSTANCE
public java.lang.String prettyPrint(java.lang.String xml,
int indent)
throws java.lang.Exception
IXMLPrettyPrinterprettyPrint in interface IXMLPrettyPrinterxml - XML to indentindent - the indent number.java.lang.ExceptionCopyright © 2019. All Rights Reserved.