Class Template

    • Field Summary

      Fields 
      Modifier and Type Field Description
      boolean debug  
    • Constructor Summary

      Constructors 
      Constructor Description
      Template()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void debug​(RewriteContext hr)
      Add current tag as a comment to the html
      protected void debug​(RewriteContext hr, java.lang.String msg)
      Add a diagnostic comment to html output, if "debug" is set in the request properties.
      boolean done​(RewriteContext hr)
      Called after all tags have been processed, one final chance.
      boolean init​(RewriteContext hr)
      Called before this template processes any tags.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • debug

        public transient boolean debug
    • Constructor Detail

      • Template

        public Template()
    • Method Detail

      • debug

        protected void debug​(RewriteContext hr,
                             java.lang.String msg)
        Add a diagnostic comment to html output, if "debug" is set in the request properties. The comment may be modified to prevent nested comments.
        Parameters:
        msg - The message to include as a comment
      • debug

        protected void debug​(RewriteContext hr)
        Add current tag as a comment to the html