sunlabs.brazil.template
Class DeCommentTemplate
java.lang.Object
sunlabs.brazil.template.Template
sunlabs.brazil.template.DeCommentTemplate (view source)
- All Implemented Interfaces:
- TemplateInterface
public class DeCommentTemplate
- extends Template
Template class for removing comments from html pages.
Properties:
- disable
- if true, disable comment removal. This is checked at
each request.
Fields inherited from class sunlabs.brazil.template.Template |
debug |
Methods inherited from class sunlabs.brazil.template.Template |
done |
DeCommentTemplate
public DeCommentTemplate()
init
public boolean init(RewriteContext hr)
- Description copied from class:
Template
- Called before this template processes any tags.
- Specified by:
init
in interface TemplateInterface
- Overrides:
init
in class Template
comment
public void comment(RewriteContext hr)