Class NotificationXSLTHelper

java.lang.Object
org.ametys.plugins.workspaces.project.notification.NotificationXSLTHelper

public final class NotificationXSLTHelper extends Object
Helper providing some method to facilitate the creation of HTML mail template
  • Method Details

    • concatStyle

      public static String concatStyle(String newStyles, String defaultStyles)
      Concatenate two string value of style attribute. If a value is present in the two string, the value in the second string will be ignored.
      Parameters:
      newStyles - a string of style attribute value
      defaultStyles - a string of style attribute to override if necessary
      Returns:
      the concatenation of the two string without double entries