Interface Nice2Template

All Known Implementing Classes:
FreemarkerNice2Template

public interface Nice2Template
Interface for a Nice2Template
  • Method Details Link icon

    • setTemplateName Link icon

      void setTemplateName(String templateName)
    • setTemplate Link icon

      void setTemplate(String source)
    • setTemplateLoaderName Link icon

      void setTemplateLoaderName(String templateLoader)
    • setLocalizedTemplateLookup Link icon

      void setLocalizedTemplateLookup(boolean localizedTemplateLookup)
    • setBaseData Link icon

      void setBaseData(EntityList baseData)
    • setBaseData Link icon

      void setBaseData(Entity baseData)
    • setRecipient Link icon

      void setRecipient(EntityList recipient)
    • setRecipient Link icon

      void setRecipient(Entity recipient)
    • setSingleBase Link icon

      void setSingleBase(Entity singleBase)
    • setTarget Link icon

      void setTarget(Entity target)
    • setCharset Link icon

      void setCharset(String charset)
    • setAttributes Link icon

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

      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 Link icon

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

      void setEntityData(String name, Entity entity)
    • setEntityData Link icon

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

      void setEntityData(String name, EntityList entityList)
    • isCompress Link icon

      boolean isCompress()
    • setCompress Link icon

      void setCompress(boolean compress)
    • isHtmlEscape Link icon

      boolean isHtmlEscape()
    • setHtmlEscape Link icon

      void setHtmlEscape(boolean escape)