Class RevelcXmlFormatterWrapper

java.lang.Object
de.funfried.netbeans.plugins.external.formatter.xml.revelc.RevelcXmlFormatterWrapper

public final class RevelcXmlFormatterWrapper extends Object
Wrapper class to the revelc.net formatter implementation.
Author:
bahlef
  • Method Details

    • format

      @CheckForNull public String format(String code, String lineFeed, FormattingPreferences prefs)
      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
      prefs - the FormattingPreferences
      Returns:
      the formatted code