Class JsoupXmlFormatterWrapper

java.lang.Object
de.funfried.netbeans.plugins.external.formatter.xml.jsoup.JsoupXmlFormatterWrapper

public final class JsoupXmlFormatterWrapper extends Object
Wrapper class to the Jsoup formatter implementation.
Author:
bahlef
  • Method Details

    • format

      @CheckForNull public String format(String code, String lineFeed, Document.OutputSettings options)
      Formats the given code with the given configurations and returns the formatted code.
      Parameters:
      code - the unformatted code
      lineFeed - the line feed to use for formatting
      options - the Document.OutputSettings
      Returns:
      the formatted code