ee.mare.indrek.jtlt
Class HtmlTemplateContext

Object
  extended byee.mare.indrek.jtlt.TemplateContext
      extended byee.mare.indrek.jtlt.HtmlTemplateContext

public class HtmlTemplateContext
extends TemplateContext

Html specialized template context.


Constructor Summary
HtmlTemplateContext()
          Create a new template context.
 
Method Summary
 Map getAliasDatabase()
          Get the alias database.
 void setAliasDatabase(Map db)
          Set the alias database for templates to use created under this context.
 
Methods inherited from class ee.mare.indrek.jtlt.TemplateContext
clearShortcutTags, complain, complain, findMacro, getCharset, getEndTag, getStartTag, registerMacro, setCharset, setComplainTo, setEndTag, setShortcutTags, setStartTag
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlTemplateContext

public HtmlTemplateContext()
Create a new template context. Will register macros: HtmlKeyMacro, KeyMacro as KEYRAW, JsKeyMacro and AliasMacro.

Method Detail

getAliasDatabase

public Map getAliasDatabase()
Get the alias database.


setAliasDatabase

public void setAliasDatabase(Map db)
Set the alias database for templates to use created under this context.