public class XSLTPrettyPrinter extends java.lang.Object implements IXMLPrettyPrinter
| Modifier and Type | Field and Description |
|---|---|
static IXMLPrettyPrinter |
INSTANCE |
| Constructor and Description |
|---|
XSLTPrettyPrinter() |
| 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.