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 SimpleElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.exoplatform.commons.api.notification.template.ElementVisitoraccept(org.exoplatform.commons.api.notification.template.ElementVisitor visitor)org.exoplatform.commons.api.notification.template.ElementaddNewLine(boolean needNewLine)org.exoplatform.commons.api.notification.template.Elementconfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig templateConfig)StringgetLanguage()org.exoplatform.commons.api.notification.plugin.config.PluginConfiggetPluginConfig()StringgetTemplate()booleanisNewLine()org.exoplatform.commons.api.notification.template.Elementlanguage(String language)org.exoplatform.commons.api.notification.template.Elementtemplate(String template)StringtoString()
-
-
-
Method Detail
-
getLanguage
public String getLanguage()
- Specified by:
getLanguagein interfaceorg.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:
acceptin interfaceorg.exoplatform.commons.api.notification.template.Element
-
getTemplate
public String getTemplate()
- Specified by:
getTemplatein interfaceorg.exoplatform.commons.api.notification.template.Element
-
language
public org.exoplatform.commons.api.notification.template.Element language(String language)
- Specified by:
languagein interfaceorg.exoplatform.commons.api.notification.template.Element
-
template
public org.exoplatform.commons.api.notification.template.Element template(String template)
- Specified by:
templatein interfaceorg.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:
configin interfaceorg.exoplatform.commons.api.notification.template.Element
-
getPluginConfig
public org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig()
- Specified by:
getPluginConfigin interfaceorg.exoplatform.commons.api.notification.template.Element
-
addNewLine
public org.exoplatform.commons.api.notification.template.Element addNewLine(boolean needNewLine)
- Specified by:
addNewLinein interfaceorg.exoplatform.commons.api.notification.template.Element
-
isNewLine
public boolean isNewLine()
- Specified by:
isNewLinein interfaceorg.exoplatform.commons.api.notification.template.Element
-
-