Class CssPropertyMerger

java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.CssPropertyMerger

public final class CssPropertyMerger extends Object
Utilities class to merge CSS properties.
  • Constructor Details

    • CssPropertyMerger

      private CssPropertyMerger()
      Creates a new CssPropertyMerger class.
  • Method Details

    • mergeTextDecoration

      public static String mergeTextDecoration(String firstValue, String secondValue)
      Merges text decoration.
      Parameters:
      firstValue - the first value
      secondValue - the second value
      Returns:
      the merged value
    • normalizeTextDecoration

      private static Set<String> normalizeTextDecoration(String value)
      Normalizes text decoration values.
      Parameters:
      value - the text decoration value
      Returns:
      a set of normalized decoration values