Class HTMLCorrector

java.lang.Object
de.hybris.platform.commons.corrector.HTMLCorrector

public class HTMLCorrector extends Object
Correct HTML fragment using chosen correction strategy.
Since:
3.1u6
  • Constructor Details

    • HTMLCorrector

      public HTMLCorrector()
  • Method Details

    • correct

      public static String correct(String htmlIn, String strategy, String correctionMapFile)
      Corrects 'in' string HTML fragment according to chosen strategy
      Parameters:
      htmlIn - HTML fragment for correction
      Returns:
      String - HTML fragment after conversion