|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ee.mare.indrek.jtlt.macros.KeyMacro
The standard KEY macro.
Nested Class Summary | |
static class |
KeyMacro.KeyValue
|
Constructor Summary | |
KeyMacro()
|
|
KeyMacro(String name)
|
Method Summary | |
String |
getName()
Get the name of the macro. |
boolean |
isParsetime()
Returns whether a macro is parsetime or not. |
boolean |
isRecursive()
Whether to recursively parse the output of this the macro. |
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 Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyMacro()
public KeyMacro(String name)
Method Detail |
public String getName()
TemplateMacro
getName
in interface TemplateMacro
public boolean isParsetime()
TemplateMacro
isParsetime
in interface TemplateMacro
public boolean isRecursive()
TemplateMacro
isRecursive
in interface TemplateMacro
public String process(TemplateParams ctx, String name, String args)
TemplateMacro
process
in interface TemplateMacro
TemplateParams.findParam(java.lang.String, boolean)
,
Template.addParam(java.lang.String, java.lang.Object)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |