sunlabs.brazil.sunlabs.DeCommentTemplate (view source)
- All Implemented Interfaces:
public class DeCommentTemplate
- extends Template
Template for removing all HTML comments from the markup.
This looks at the completed markup, and reprocesses it removing the
comments. (This operates differently from the DeCommentTemplate in the "template"
package, which removes comments while the template is being processed. This one makes
an additional pass, but removes even dynamically generated comments.)
- If set in the current request properties, comment removal is disabled. This
allows comment removal to be set on a per-page basis
(e.g. <set name=prefix.disable value=true|false> anywhere in the page).
|Fields inherited from class sunlabs.brazil.template.Template
Called after all tags have been processed, one final chance.
|Methods inherited from class sunlabs.brazil.template.Template
public boolean done(RewriteContext hr)
- Description copied from class:
- Called after all tags have been processed, one final chance.
- Specified by:
done in interface
done in class