Class SimpleTemplateTransformer

java.lang.Object
org.exoplatform.commons.notification.template.SimpleTemplateTransformer
All Implemented Interfaces:
org.exoplatform.commons.api.notification.template.TemplateTransformer

public class SimpleTemplateTransformer extends Object implements org.exoplatform.commons.api.notification.template.TemplateTransformer
  • Constructor Details

    • SimpleTemplateTransformer

      public SimpleTemplateTransformer()
  • Method Details

    • from

      public org.exoplatform.commons.api.notification.template.TemplateTransformer from(String template)
      Specified by:
      from in interface org.exoplatform.commons.api.notification.template.TemplateTransformer
    • transform

      public String transform(org.exoplatform.commons.api.notification.service.template.TemplateContext context)
      Specified by:
      transform in interface org.exoplatform.commons.api.notification.template.TemplateTransformer