Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.axis2.util
Class XMLPrettyPrinter

    java.lang.Object
      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`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2011 The Apache Software Foundation. All Rights Reserved.