public final class PrettyPrinter extends Object implements PrettyPrinterInterface
| Constructor and Description |
|---|
PrettyPrinter()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
prettyPrint(String xml)
Transforms XML into a pretty-printed format.
|
public String prettyPrint(String xml)
prettyPrint in interface PrettyPrinterInterfacexml - the XML message to be pretty printedCopyright © 2016. All Rights Reserved.