sunlabs.brazil.sunlabs
Class DeCommentTemplate

java.lang.Object
  extended by sunlabs.brazil.template.Template
      extended by sunlabs.brazil.sunlabs.DeCommentTemplate (view source)
All Implemented Interfaces:
TemplateInterface

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.)

disable
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).


Field Summary
 
Fields inherited from class sunlabs.brazil.template.Template
debug
 
Constructor Summary
DeCommentTemplate()
           
 
Method Summary
 boolean done(RewriteContext hr)
          Called after all tags have been processed, one final chance.
 
Methods inherited from class sunlabs.brazil.template.Template
init
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeCommentTemplate

public DeCommentTemplate()
Method Detail

done

public boolean done(RewriteContext hr)
Description copied from class: Template
Called after all tags have been processed, one final chance.

Specified by:
done in interface TemplateInterface
Overrides:
done in class Template

Version Kenai-svn-r24, Generated 08/18/09
Copyright (c) 2001-2009, Sun Microsystems.