01: /* Title.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Tue Dec 13 10:50:43 2005, Created by tomyeh
10: }}IS_NOTE
11:
12: Copyright (C) 2005 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zhtml;
20:
21: import org.zkoss.zhtml.impl.AbstractTag;
22:
23: /**
24: * The TITLE tag.
25: *
26: * @author tomyeh
27: */
28: public class Title extends AbstractTag {
29: public Title() {
30: super ("title");
31: }
32:
33: //-- super --//
34: /** Don't generate the id attribute.
35: */
36: protected boolean shallHideId() {
37: return true;
38: }
39:
40: public void redraw(java.io.Writer out) throws java.io.IOException {
41: super .redraw(out);
42: out.write('\n');
43: }
44: }
|