public class Template extends java.lang.Object implements TemplateInterface
| Modifier and Type | Field and Description |
|---|---|
boolean |
debug |
| Constructor and Description |
|---|
Template() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
debug(RewriteContext hr)
Add current tag as a comment to the html
|
protected void |
debug(RewriteContext hr,
java.lang.String msg)
Add a diagnostic comment to html output, if "debug" is set
in the request properties.
|
boolean |
done(RewriteContext hr)
Called after all tags have been processed, one final chance.
|
boolean |
init(RewriteContext hr)
Called before this template processes any tags.
|
public boolean init(RewriteContext hr)
init in interface TemplateInterfacepublic boolean done(RewriteContext hr)
done in interface TemplateInterfaceprotected void debug(RewriteContext hr, java.lang.String msg)
msg - The message to include as a commentprotected void debug(RewriteContext hr)