|
||||||||
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.JsKeyMacro
A macro (KEYJS) that escapes single quotes, newlines and carriage returns with additional slash.
Nested Class Summary |
Nested classes inherited from class ee.mare.indrek.jtlt.macros.KeyMacro |
KeyMacro.KeyValue |
Constructor Summary | |
JsKeyMacro()
|
|
JsKeyMacro(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 JsKeyMacro()
public JsKeyMacro(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 |