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 Object

An XML pretty printer based on xsl stylesheets

Constructor Summary
`XMLPrettyPrinter()`

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

  Pretty prints contents of the xml file.

  Parameters:
    `file` -

### prettify

    public static void prettify(org.apache.axiom.om.OMElement wsdlElement,
                                OutputStream out)
                         throws Exception

  Throws:
    `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.