com.ebmwebsourcing.easyviper.environment.test.util
Class XMLPrettyPrinter
java.lang.Object
com.ebmwebsourcing.easyviper.environment.test.util.XMLPrettyPrinter
public class XMLPrettyPrinter
- extends java.lang.Object
An util class to prettify XML document
- Author:
- ofabre - eBM WebSourcing
|
Method Summary |
static void |
prettify(java.io.InputStream in,
java.io.OutputStream out)
Prettify the xml input stream into the output stream. |
static void |
prettify(org.w3c.dom.Node node,
java.io.OutputStream out)
Prettify the node into the output stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLPrettyPrinter
public XMLPrettyPrinter()
prettify
public static void prettify(org.w3c.dom.Node node,
java.io.OutputStream out)
throws java.lang.Exception
- Prettify the node into the output stream.
- Parameters:
node - out -
- Throws:
java.lang.Exception
prettify
public static void prettify(java.io.InputStream in,
java.io.OutputStream out)
throws java.lang.Exception
- Prettify the xml input stream into the output stream.
- Parameters:
node - out -
- Throws:
java.lang.Exception
Copyright © 2009 eBM WebSourcing. All Rights Reserved.