org.apache.axis2.util
Class XMLPrettyPrinter

java.lang.Object
  extended by org.apache.axis2.util.XMLPrettyPrinter

public class XMLPrettyPrinter
extends java.lang.Object

An XML pretty printer based on xsl stylesheets


Constructor Summary
XMLPrettyPrinter()
           
 
Method Summary
static void prettify(java.io.File file)
          Pretty prints contents of the xml file.
static void prettify(org.apache.axiom.om.OMElement wsdlElement, java.io.OutputStream out)
           
 
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

prettify

public static void prettify(java.io.File file)
Pretty prints contents of the xml file.

Parameters:
file -

prettify

public static void prettify(org.apache.axiom.om.OMElement wsdlElement,
                            java.io.OutputStream out)
                     throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2007 Apache Web Services Project. All Rights Reserved.