Class SimpleElement

java.lang.Object
org.exoplatform.commons.notification.template.SimpleElement
All Implemented Interfaces:
org.exoplatform.commons.api.notification.template.Element
Direct Known Subclasses:
DigestTemplate, GroovyElement

public class SimpleElement extends Object implements org.exoplatform.commons.api.notification.template.Element
Created by The eXo Platform SAS Author : eXoPlatform thanhvc@exoplatform.com Aug 1, 2013
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.commons.api.notification.template.ElementVisitor
    accept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor)
     
    org.exoplatform.commons.api.notification.template.Element
    addNewLine(boolean needNewLine)
     
    org.exoplatform.commons.api.notification.template.Element
    config(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig)
     
     
    org.exoplatform.commons.api.notification.plugin.config.PluginConfig
     
     
    boolean
     
    org.exoplatform.commons.api.notification.template.Element
    language(String language)
     
    org.exoplatform.commons.api.notification.template.Element
    template(String template)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SimpleElement

      public SimpleElement()
  • Method Details

    • getLanguage

      public String getLanguage()
      Specified by:
      getLanguage in interface org.exoplatform.commons.api.notification.template.Element
    • accept

      public org.exoplatform.commons.api.notification.template.ElementVisitor accept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor)
      Specified by:
      accept in interface org.exoplatform.commons.api.notification.template.Element
    • getTemplate

      public String getTemplate()
      Specified by:
      getTemplate in interface org.exoplatform.commons.api.notification.template.Element
    • language

      public org.exoplatform.commons.api.notification.template.Element language(String language)
      Specified by:
      language in interface org.exoplatform.commons.api.notification.template.Element
    • template

      public org.exoplatform.commons.api.notification.template.Element template(String template)
      Specified by:
      template in interface org.exoplatform.commons.api.notification.template.Element
    • config

      public org.exoplatform.commons.api.notification.template.Element config(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig)
      Specified by:
      config in interface org.exoplatform.commons.api.notification.template.Element
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPluginConfig

      public org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig()
      Specified by:
      getPluginConfig in interface org.exoplatform.commons.api.notification.template.Element
    • addNewLine

      public org.exoplatform.commons.api.notification.template.Element addNewLine(boolean needNewLine)
      Specified by:
      addNewLine in interface org.exoplatform.commons.api.notification.template.Element
    • isNewLine

      public boolean isNewLine()
      Specified by:
      isNewLine in interface org.exoplatform.commons.api.notification.template.Element