Interface IXMLPrettyPrinter

All Known Implementing Classes:
IndentNumberPrettyPrinter, NoIndentNumberPrettyPrinter, NoPrettyPrinter, XSLTPrettyPrinter

public interface IXMLPrettyPrinter
XML Pretty Printer interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    prettyPrint(String xml, int indent)
    Indent the given xml with the given indent number.
  • Method Details

    • prettyPrint

      String prettyPrint(String xml, int indent) throws Exception
      Indent the given xml with the given indent number.
      Parameters:
      xml - XML to indent
      indent - the indent number.
      Returns:
      Throws:
      Exception