org.apache.axis2.util
Class XMLPrettyPrinter

java.lang.Object
  extended byorg.apache.axis2.util.XMLPrettyPrinter

public class XMLPrettyPrinter
extends java.lang.Object

An XML pretty printer based on jtidy (http://sourceforge.net/projects/jtidy) The Jtidy jar needs to be in classpath for this to work and can be found at http://sourceforge.net/project/showfiles.php?group_id=13153


Constructor Summary
XMLPrettyPrinter()
           
 
Method Summary
static void prettify(java.io.File file)
          Pretty prints contents of the java source file.
 
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 java source file.

Parameters:
file -


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.