public class XmlUtils extends Object
Constructor and Description |
---|
XmlUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
appendAttribute(StringBuilder builder,
String att,
String value) |
static void |
prettyPrint(String header,
String xml) |
public static void prettyPrint(String header, String xml)
header
- Just a title for the stanza for readability. Single word no spaces since
it is inserted as the root element in the output.xml
- The string to pretty printpublic static void appendAttribute(StringBuilder builder, String att, String value)
Copyright © 2003-2007 Jive Software.