com.legstar.coxb.util
Class XmlUtil
java.lang.Object
com.legstar.coxb.util.XmlUtil
public final class XmlUtil
- extends Object
A utility class for XML manipulation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prettyPrint
public static String prettyPrint(Source source)
- Pretty print an XML. Use with caution as this drains the source if it is
a StreamSource.
- Parameters:
source
- the XML source
- Returns:
- a String with readable XML
Copyright © 2015 LegSem. All Rights Reserved.