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 void
comment(RewriteContext hr)
boolean
init(RewriteContext hr)
Called before this template processes any tags.
-
-
-
Method Detail
-
init
public boolean init(RewriteContext hr)
Description copied from class:Template
Called before this template processes any tags.- Specified by:
init
in interfaceTemplateInterface
- Overrides:
init
in classTemplate
-
comment
public void comment(RewriteContext hr)
-
-