Package sunlabs.brazil.template
Class DeCommentTemplate
- java.lang.Object
-
- sunlabs.brazil.template.Template
-
- sunlabs.brazil.template.DeCommentTemplate
-
- 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.
- Version:
- Author:
- Stephen Uhler
-
-
Constructor Summary
Constructors Constructor Description DeCommentTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcomment(RewriteContext hr)booleaninit(RewriteContext hr)Called before this template processes any tags.
-
-
-
Method Detail
-
init
public boolean init(RewriteContext hr)
Description copied from class:TemplateCalled before this template processes any tags.- Specified by:
initin interfaceTemplateInterface- Overrides:
initin classTemplate
-
comment
public void comment(RewriteContext hr)
-
-