|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.millscript.millscript.loaders.ShortcutArgName
public class ShortcutArgName
This class compiles a shortcut argument element in a MillScript XHTML
template. A shortcut argument element has a name begining with
arg and has a single digit after that, e.g. arg1
is a shortcut for <arg n="1" />.
| Constructor Summary | |
|---|---|
ShortcutArgName(BasicTemplateLoader btl,
int n)
Constructs a new shortcut argument element handler, to insert expressions for the specified argument number into the specified loader. |
|
| Method Summary | |
|---|---|
void |
handle()
Calling this method will generate the required expressions at the current point in the expression tree. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShortcutArgName(BasicTemplateLoader btl,
int n)
btl - the loader to insert expressions inton - the argument number of this shortcut| Method Detail |
|---|
public void handle()
SpecialTemplateName
handle in interface SpecialTemplateNameSpecialTemplateName.handle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||