|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ee.mare.indrek.jtlt.macros.KeyMacro ee.mare.indrek.jtlt.macros.HtmlKeyMacro
A macro (KEY) that does HTML escaping on input. The escaping is not done when HtmlTemplate.replaceraw is used.
Nested Class Summary |
Nested classes inherited from class ee.mare.indrek.jtlt.macros.KeyMacro |
KeyMacro.KeyValue |
Constructor Summary | |
HtmlKeyMacro()
|
|
HtmlKeyMacro(String name)
|
Method Summary | |
String |
process(TemplateParams ctx,
String name,
String args)
This method is called with given block context whenever a macro with registered name is found inside the tempalate. |
Methods inherited from class ee.mare.indrek.jtlt.macros.KeyMacro |
getName, isParsetime, isRecursive |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HtmlKeyMacro()
public HtmlKeyMacro(String name)
Method Detail |
public String process(TemplateParams ctx, String name, String args)
TemplateMacro
process
in interface TemplateMacro
process
in class KeyMacro
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |