Interface Nice2Template

All Known Implementing Classes:
FreemarkerNice2Template

public interface Nice2Template
Interface for a Nice2Template
  • Method Details

    • setTemplateName

      void setTemplateName(String templateName)
    • setTemplate

      void setTemplate(String source)
    • setTemplateLoaderName

      void setTemplateLoaderName(String templateLoader)
    • setLocalizedTemplateLookup

      void setLocalizedTemplateLookup(boolean localizedTemplateLookup)
    • setBaseData

      void setBaseData(EntityList baseData)
    • setBaseData

      void setBaseData(Entity baseData)
    • setRecipient

      void setRecipient(EntityList recipient)
    • setRecipient

      void setRecipient(Entity recipient)
    • setSingleBase

      void setSingleBase(Entity singleBase)
    • setTarget

      void setTarget(Entity target)
    • setCharset

      void setCharset(String charset)
    • setAttributes

      void setAttributes(Map<String,Object> attributes)
    • setAttribute

      void setAttribute(String name, Object value)
      Insert a value into the template's model. Any object can be inserted into the model using this method.
      Parameters:
      name - the name of the attribute to set
      value - the value to set
    • setDateTimeZone

      void setDateTimeZone(org.joda.time.DateTimeZone dateTimeZone)
    • setEntityData

      void setEntityData(String name, Entity entity)
    • setEntityData

      void setEntityData(String name, Collection<Entity> entityList)
    • setEntityData

      void setEntityData(String name, EntityList entityList)
    • isCompress

      boolean isCompress()
    • setCompress

      void setCompress(boolean compress)
    • isHtmlEscape

      boolean isHtmlEscape()
    • setHtmlEscape

      void setHtmlEscape(boolean escape)