org.apache.airavata.common.utils
Class XmlFormatter
java.lang.Object
org.apache.airavata.common.utils.XmlFormatter
public class XmlFormatter
- extends Object
Pretty-prints xml, supplied as a string.
eg.
String formattedXml = new XmlFormatter().format("hello");
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmlFormatter
public XmlFormatter()
format
public static String format(String unformattedXml)
- Parameters:
unformattedXml -
- Returns:
- formattedXml
Copyright © 2011-2012 The Apache Software Foundation. All Rights Reserved.