org.ow2.easywsdl.schema.util
Class XMLPrettyPrinter

java.lang.Object
  extended by org.ow2.easywsdl.schema.util.XMLPrettyPrinter

public class XMLPrettyPrinter
extends java.lang.Object

Author:
ofabre - eBM WebSourcing

Constructor Summary
XMLPrettyPrinter()
           
 
Method Summary
static java.lang.String prettyPrint(org.w3c.dom.Document xmlDocument)
          parse the xml String and return it pretty-printed (with correct indentations, etc..)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPrettyPrinter

public XMLPrettyPrinter()
Method Detail

prettyPrint

public static java.lang.String prettyPrint(org.w3c.dom.Document xmlDocument)
parse the xml String and return it pretty-printed (with correct indentations, etc..) If an error occurs during the process, the returned String will be the original XML string

Parameters:
xmlString - the xml String to pretty print


Copyright © 2008 eBM WebSourcing. All Rights Reserved.