Class SimpleElementVistior

java.lang.Object
org.exoplatform.commons.notification.template.SimpleElementVistior
All Implemented Interfaces:
org.exoplatform.commons.api.notification.template.ElementVisitor

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

    Modifier and Type
    Method
    Description
    org.exoplatform.commons.api.notification.service.template.TemplateContext
     
     
    static org.exoplatform.commons.api.notification.template.ElementVisitor
    Create new instance of ElementVisitor
    out()
     
     
    org.exoplatform.commons.api.notification.template.ElementVisitor
    visit(org.exoplatform.commons.api.notification.template.Element element)
     
    org.exoplatform.commons.api.notification.template.ElementVisitor
    with(org.exoplatform.commons.api.notification.service.template.TemplateContext ctx)
     

    Methods inherited from class java.lang.Object

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

    • instance

      public static org.exoplatform.commons.api.notification.template.ElementVisitor instance()
      Create new instance of ElementVisitor
      Returns:
    • visit

      public org.exoplatform.commons.api.notification.template.ElementVisitor visit(org.exoplatform.commons.api.notification.template.Element element)
      Specified by:
      visit in interface org.exoplatform.commons.api.notification.template.ElementVisitor
    • out

      public String out()
      Specified by:
      out in interface org.exoplatform.commons.api.notification.template.ElementVisitor
    • with

      public org.exoplatform.commons.api.notification.template.ElementVisitor with(org.exoplatform.commons.api.notification.service.template.TemplateContext ctx)
      Specified by:
      with in interface org.exoplatform.commons.api.notification.template.ElementVisitor
    • toString

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

      public org.exoplatform.commons.api.notification.service.template.TemplateContext getTemplateContext()
      Specified by:
      getTemplateContext in interface org.exoplatform.commons.api.notification.template.ElementVisitor
    • getWriter

      public Writer getWriter()
      Specified by:
      getWriter in interface org.exoplatform.commons.api.notification.template.ElementVisitor