|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object ee.mare.indrek.jtlt.macros.MacroAdapter ee.mare.indrek.jtlt.macros.SepMacro
A macro for producing separators, like commas, for easier list creation.
Constructor Summary | |
SepMacro(String macro_name,
String default_name,
String separator)
SepMacro returns a SUB with contents of separator inside it. |
Method Summary | |
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 params,
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.MacroAdapter |
getName |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SepMacro(String macro_name, String default_name, String separator)
Method Detail |
public boolean isParsetime()
TemplateMacro
isParsetime
in interface TemplateMacro
isParsetime
in class MacroAdapter
public boolean isRecursive()
TemplateMacro
isRecursive
in interface TemplateMacro
isRecursive
in class MacroAdapter
public String process(TemplateParams params, String name, String args)
TemplateMacro
process
in interface TemplateMacro
process
in class MacroAdapter
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |