Package org.apache.axis2.util
Class XMLPrettyPrinter
- java.lang.Object
-
- org.apache.axis2.util.XMLPrettyPrinter
-
public class XMLPrettyPrinter extends Object
An XML pretty printer based on xsl stylesheets
-
-
Constructor Summary
Constructors Constructor Description XMLPrettyPrinter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
prettify(File file)
Pretty prints contents of the xml file.static void
prettify(OMElement wsdlElement, OutputStream out)
-
-
-
Method Detail
-
prettify
public static void prettify(File file)
Pretty prints contents of the xml file.- Parameters:
file
-
-
prettify
public static void prettify(OMElement wsdlElement, OutputStream out) throws Exception
- Throws:
Exception
-
-