KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > fr > improve > struts > taglib > layout > util > NoHeaderCollection


1 package fr.improve.struts.taglib.layout.util;
2
3 /**
4  * Modification of the BasicCollection implementation of CollectionInterface.
5  * This version does not display collection headers.
6  *
7  * @author: Jean-NoŽl Ribette
8  */

9 public class NoHeaderCollection extends BasicCollection {
10
11     /**
12      * Prepare to display the headers: do nothing.
13      */

14     public void doStartHeaders(StringBuffer JavaDoc out_buffer) {
15         // Do nothing.
16
}
17     /**
18      * Display a header : do nothing.
19      */

20     public void doPrintHeader(StringBuffer JavaDoc out_buffer, String JavaDoc in_header, String JavaDoc in_width, String JavaDoc in_sortUrl) {
21         // Do nothing.
22
}
23     
24     /**
25      * Finish to render the headers : no nothing.
26      */

27     public void doEndHeaders(StringBuffer JavaDoc out_buffer) {
28         // Do nothing.
29
}
30 }
Popular Tags